37 lines
1.2 KiB
C++
37 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Client.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: aortigos <aortigos@student.42malaga.com> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2026/04/13 22:31:44 by aortigos #+# #+# */
|
|
/* Updated: 2026/04/13 22:31:44 by aortigos ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef CLIENT_HPP
|
|
# define CLIENT_HPP
|
|
|
|
# include <iostream>
|
|
# include <string>
|
|
|
|
class Client
|
|
{
|
|
private:
|
|
int fd;
|
|
std::string nick;
|
|
std::string username;
|
|
std::string realname;
|
|
std::string buffer;
|
|
bool registered;
|
|
bool authenticated;
|
|
|
|
public:
|
|
Client();
|
|
Client(int fd);
|
|
~Client();
|
|
};
|
|
|
|
#endif
|