Added PollManager class

This commit is contained in:
ouafabulous 2025-05-19 20:23:22 +02:00
parent 53a83308de
commit 4a17d88d80
7 changed files with 179 additions and 37 deletions

View file

@ -1,4 +1,4 @@
/* ************************************************************************** */
/******************************************************************************/
/* */
/* ::: :::::::: */
/* core.hpp :+: :+: :+: */
@ -6,9 +6,9 @@
/* By: omoudni <omoudni@student.42paris.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/12 14:16:03 by rparodi #+# #+# */
/* Updated: 2025/05/19 15:07:26 by omoudni ### ########.fr */
/* Updated: 2025/05/19 20:15:14 by omoudni ### ########.fr */
/* */
/* ************************************************************************** */
/******************************************************************************/
#pragma once
@ -16,11 +16,21 @@
#define LOG std::endl << CLR_CYAN << "Debug: " << __FILE__ << ":" << __LINE__ << std::endl << CLR_RESET
#endif
#ifndef DEBUG
#define DEBUG 0
#define LOG ""
#endif
enum e_state {
ERROR = 0,
CMD,
MSG
};
#include "pollManager.hpp"
#include "color.hpp"
#include "server.hpp"
#include "parser.hpp"