From 346ed20bfdab2ca81f42ed2d66a5aab35ddac892 Mon Sep 17 00:00:00 2001 From: jopierron Date: Fri, 1 Apr 2022 08:07:28 +0000 Subject: [PATCH] Upload New File --- src/Personne3.hpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/Personne3.hpp diff --git a/src/Personne3.hpp b/src/Personne3.hpp new file mode 100644 index 0000000..5c776b7 --- /dev/null +++ b/src/Personne3.hpp @@ -0,0 +1,21 @@ +#ifndef PERSONNE3_hpp +#define PERSONNE3_hpp + +#include + +namespace reseau2 { + class Contact; + class Personne { + std::string prenom; + Contact* contacts; + public: + explicit Personne(const std::string& prenom); + void ajtContact(const Personne& personne); + const std::string& getPrenom() const; + bool peutCommuniquerA(const Personne& p) const; + ~Personne(); + }; +} + +#endif +