diff --git a/src/Contact.hpp b/src/Contact.hpp index fc29436..9774fad 100644 --- a/src/Contact.hpp +++ b/src/Contact.hpp @@ -2,12 +2,13 @@ #define CONTACT_hpp #include"Personne.hpp" #include +#include class Contact { - Personne Proprietaire const; + Personne Proprietaire; std::list lesContacts{}; public: - Contact(const Personne& P); + Contact(const Personne& Proprietaire); void ajouterContact(const Personne& unContact); bool supprimerContact(const Personne& unContact); // void envoyerMessage(std::string texte, Personne p); @@ -15,4 +16,7 @@ public: // ~Contact(); }; +std::ostream& operator<<(std::ostream& os, Personne p); + #endif +