Application.hpp (833B)
1 #include "Element.hpp" 2 #include <map> 3 #include <vector> 4 5 class Application 6 { 7 std::map<std::string, std::string> saConfiguration, sesApplications; 8 std::string sesErreurs, sonCopier, sonRepertoireCourant; 9 std::vector<std::vector<Element *> > sonContenu; 10 public : 11 Application(); 12 ~Application(); 13 void ajouterErreur(std::string); 14 void changerRepertoire(std::string); 15 void coller(std::string); 16 void copier(std::string); 17 void eteindre() const; 18 std::string getSaValeur(std::string) const; 19 std::string getSesErreurs() const; 20 std::string getSonApplication(std::string) const; 21 std::vector<std::vector<Element *> > getSonContenu() const; 22 std::string getSonRepertoireCourant() const; 23 void lireRepertoire(); 24 void ouvrirFichier(Element *, bool); 25 void redemarrer() const; 26 void resetSesErreurs(); 27 void supprimer(std::string); 28 }; 29