From 7abe3dddba3e8b413258fb69fb19ff02062a8b75 Mon Sep 17 00:00:00 2001 From: mamazingue Date: Thu, 3 Mar 2022 10:55:40 +0000 Subject: [PATCH] Upload New File --- src/Contact.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/Contact.hpp diff --git a/src/Contact.hpp b/src/Contact.hpp new file mode 100644 index 0000000..fc29436 --- /dev/null +++ b/src/Contact.hpp @@ -0,0 +1,18 @@ +#ifndef CONTACT_hpp +#define CONTACT_hpp +#include"Personne.hpp" +#include + +class Contact { + Personne Proprietaire const; + std::list 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