43 lines
1.6 KiB
C++
43 lines
1.6 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Contact.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/09/02 21:57:21 by aortigos #+# #+# */
|
|
/* Updated: 2025/09/04 14:02:27 by aortigos ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef CONTACT_HPP
|
|
|
|
# define CONTACT_HPP
|
|
|
|
# include <iostream>
|
|
|
|
class Contact
|
|
{
|
|
private:
|
|
std::string name;
|
|
std::string surname;
|
|
std::string nickname;
|
|
std::string phoneNumber;
|
|
std::string secret;
|
|
|
|
public:
|
|
Contact();
|
|
void setName(std::string str);
|
|
void setSurname(std::string str);
|
|
void setNickname(std::string str);
|
|
void setPhoneNumber(std::string str);
|
|
void setSecret(std::string str);
|
|
|
|
std::string getName();
|
|
std::string getSurname();
|
|
std::string getNickname();
|
|
std::string getPhoneNumber();
|
|
std::string getSecret();
|
|
};
|
|
|
|
#endif |