fix(make): now compiling

This commit is contained in:
Raphael 2025-05-21 13:03:13 +02:00
parent 1f96596130
commit ba8e2c7973
2 changed files with 11 additions and 9 deletions

View file

@ -6,7 +6,7 @@
# By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ # # By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/05/02 15:40:00 by rparodi #+# #+# # # Created: 2025/05/02 15:40:00 by rparodi #+# #+# #
# Updated: 2025/05/20 21:43:49 by rparodi ### ########.fr # # Updated: 2025/05/21 13:01:09 by rparodi ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -24,12 +24,14 @@ CXXFLAGS = -Werror -Wextra -Wall -std=c++98
SESSION = test-irc SESSION = test-irc
# Sources # Sources
SRC = sources/core/main.cpp \ SRC = sources/core/logs.cpp \
sources/core/Server.cpp \
sources/core/check.cpp \ sources/core/check.cpp \
sources/core/PollManager.cpp \
sources/core/parser.cpp \ sources/core/parser.cpp \
sources/core/PollManager.cpp sources/core/main.cpp \
sources/core/Server.cpp \
sources/user/user.cpp \
sources/channel/channel.cpp
INC_DIR = include/core \ INC_DIR = include/core \
include include

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/20 21:50:32 by rparodi #+# #+# */ /* Created: 2025/05/20 21:50:32 by rparodi #+# #+# */
/* Updated: 2025/05/20 21:53:29 by rparodi ### ########.fr */ /* Updated: 2025/05/21 13:03:01 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -18,13 +18,13 @@
class Server { class Server {
private: private:
int _port; int _port;
int _server_fd; int _serverFd;
std::string _password; std::string _password;
PollManager _poll_manager; PollManager _pollManager;
public: public:
Server(int port, const std::string &password); Server(int port, const std::string &password);
~Server(); ~Server();
void start(); void start();
int getPort() const; unsigned short int getPort() const;
void showInfo() const; void showInfo() const;
}; };