Update Contact.hpp

main
Joan PIERRON 3 years ago
parent 1bc5fdaed7
commit 3ec1f88dbe

@ -2,12 +2,13 @@
#define CONTACT_hpp
#include"Personne.hpp"
#include<list>
#include<iostream>
class Contact {
Personne Proprietaire const;
Personne Proprietaire;
std::list<Personne*> 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

Loading…
Cancel
Save