Client class added
This commit is contained in:
36
Client/Client.hpp
Normal file
36
Client/Client.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 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
|
||||
Reference in New Issue
Block a user