/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* AdditionalCommands.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/21 18:09:05 by fgras-ca #+# #+# */ /* Updated: 2024/06/06 18:41:04 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef ADDITIONALCOMMANDS_HPP #define ADDITIONALCOMMANDS_HPP #include "Client.hpp" #include "Server.hpp" #include "Channel.hpp" #include "CommandHandler.hpp" #include "Utils.hpp" #include "RPL.hpp" #include "Who.hpp" #include "InviteHandler.hpp" #include "TopicHandler.hpp" #include "KickHandler.hpp" #include "BotFilter.hpp" #include #include #include class Server; class Client; class Channel; class BotFilter; class AdditionalCommands { private: Server *_server; public: AdditionalCommands(Server *server); void processCommand(Client *client, const std::string &command); void broadcastChannelList(Client *client, Server *server); void handlePartCommand(Server *server, Client *client, const std::string &command); void handleNickCommand(Server *server, Client *client, const std::string &command); void handlePrivmsgCommand(Server *server, Client *client, const std::string &command); }; #endif