Rename libirc and libxmpp to irc and xmpp

This commit is contained in:
Florent Le Coz
2013-11-03 00:22:32 +01:00
parent e332d7a2c0
commit 87aaacdb42
6 changed files with 15 additions and 15 deletions
+28
View File
@@ -0,0 +1,28 @@
#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