feat(server): starting the server class
This commit is contained in:
parent
b3087814e9
commit
874a6473e4
2 changed files with 67 additions and 0 deletions
25
include/core/server.hpp
Normal file
25
include/core/server.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* server.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/13 11:06:56 by rparodi #+# #+# */
|
||||
/* Updated: 2025/05/13 11:08:41 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class Server {
|
||||
private:
|
||||
int _port;
|
||||
std::string _password;
|
||||
public:
|
||||
Server();
|
||||
Server(int port, const std::string &password);
|
||||
~Server();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue