parent
cf64272348
commit
346ed20bfd
@ -0,0 +1,21 @@
|
|||||||
|
#ifndef PERSONNE3_hpp
|
||||||
|
#define PERSONNE3_hpp
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in new issue