From c014a65a6481267ae984515074bc59cb56cb9c73 Mon Sep 17 00:00:00 2001 From: jopierron Date: Fri, 1 Apr 2022 08:04:56 +0000 Subject: [PATCH] Delete Contact.hpp --- src/Contact.hpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/Contact.hpp diff --git a/src/Contact.hpp b/src/Contact.hpp deleted file mode 100644 index e055474..0000000 --- a/src/Contact.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef CONTACT_hpp -#define CONTACT_hpp -#include"Personne.hpp" -#include -#include -#include - -namespace reseau{ - class Contact { - reseau::Personne Proprietaire; - std::list lesContacts{}; - void Recursive(std::list Contacts, std::set* set); - public: - Contact(const reseau::Personne& Proprietaire); - const Personne& getProprio() const; - bool ajouterContact(const reseau::Personne& unContact); - bool supprimerContact(const reseau::Personne& unContact); - bool rechercher(const Personne& unContact); - void afficherContactDirect(); - void afficherContactIndirect(std::list Contacts); - // ~Contact(); - }; - std::ostream& operator<<(std::ostream& os, reseau::Personne p); - bool operator==(reseau::Personne p1, reseau::Personne p2); -} - -#endif