/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Join.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/21 19:51:08 by fgras-ca #+# #+# */ /* Updated: 2024/06/12 11:31:09 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef JOIN_HPP #define JOIN_HPP #include #include "Client.hpp" #include "Server.hpp" #include "Channel.hpp" #include "RPL.hpp" #include "Utils.hpp" #include "Channel.hpp" #include "Client.hpp" #include "AdditionalCommands.hpp" #include #include #include #include class JoinHandler { public: JoinHandler(Server *server); ~JoinHandler(); void handleJoinCommand(Client *client, const std::string &channelName, Server *server); void sendJoinSuccess(Client *client, Channel *channel, Server *server); std::string getUsersList(Channel *channel); private: Server *_server; }; #endif