Element.hpp (276B)
1 #include <dirent.h> 2 #include <string> 3 4 enum type { dossier, fichier, inconnu }; 5 6 class Element 7 { 8 std::string sonNom, sonExtension; 9 type sonType; 10 public : 11 Element(dirent *); 12 std::string getSonNom() const; 13 std::string getSonExtension() const; 14 type getSonType() const; 15 }; 16