diff options
Diffstat (limited to 'src/libirc/irc_message.hpp')
-rw-r--r-- | src/libirc/irc_message.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/libirc/irc_message.hpp b/src/libirc/irc_message.hpp deleted file mode 100644 index a0bd772..0000000 --- a/src/libirc/irc_message.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef IRC_MESSAGE_INCLUDED -# define IRC_MESSAGE_INCLUDED - -#include <vector> -#include <string> -#include <ostream> - -class IrcMessage -{ -public: - explicit IrcMessage(std::string&& line); - explicit IrcMessage(std::string&& prefix, std::string&& command, std::vector<std::string>&& args); - explicit IrcMessage(std::string&& command, std::vector<std::string>&& args); - ~IrcMessage(); - - std::string prefix; - std::string command; - std::vector<std::string> arguments; - - IrcMessage(const IrcMessage&) = delete; - IrcMessage(IrcMessage&&) = delete; - IrcMessage& operator=(const IrcMessage&) = delete; - IrcMessage& operator=(IrcMessage&&) = delete; -}; - -std::ostream& operator<<(std::ostream& os, const IrcMessage& message); - -#endif // IRC_MESSAGE_INCLUDED |