35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* PhoneBook.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/04/15 10:37:24 by apommier #+# #+# */
|
|
/* Updated: 2022/07/21 19:58:59 by apommier ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef PHONEBOOK_HPP
|
|
# define PHONEBOOK_HPP
|
|
|
|
# include "Contact.hpp"
|
|
|
|
class PhoneBook {
|
|
|
|
public:
|
|
|
|
PhoneBook(void);
|
|
~PhoneBook(void);
|
|
void StoreContact(Contact *NewContact);
|
|
void PrintContact(int index);
|
|
void PrintIndex();
|
|
void deleteContact();
|
|
|
|
private:
|
|
|
|
int _NbrContact;
|
|
class Contact *_Contact[8];
|
|
};
|
|
|
|
#endif |