parent
73195a9de2
commit
7abe3dddba
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef CONTACT_hpp
|
||||||
|
#define CONTACT_hpp
|
||||||
|
#include"Personne.hpp"
|
||||||
|
#include<list>
|
||||||
|
|
||||||
|
class Contact {
|
||||||
|
Personne Proprietaire const;
|
||||||
|
std::list<Personne*> lesContacts{};
|
||||||
|
public:
|
||||||
|
Contact(const Personne& P);
|
||||||
|
void ajouterContact(const Personne& unContact);
|
||||||
|
bool supprimerContact(const Personne& unContact);
|
||||||
|
// void envoyerMessage(std::string texte, Personne p);
|
||||||
|
// void recevoirMessage(std::string texte, Personne p);
|
||||||
|
// ~Contact();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in new issue