Files
biboumi/src/irc/irc_user.hpp
T
Florent Le Coz bf7b05ef72 Implement the Bridge class to translate between the two protocols
Add all useful classes as well: Jid, Iid, IrcChannel, IrcUser etc to
properly keep the informations about what we receive from the IRC server.

Only handle the MUC join stanza, and send the list of users in the IRC
channel to the XMPP user, and the IRC channel’s topic, for now.
2013-11-06 21:01:18 +01:00

25 lines
445 B
C++

#ifndef IRC_USER_INCLUDED
# define IRC_USER_INCLUDED
#include <string>
/**
* Keeps various information about one IRC channel user
*/
class IrcUser
{
public:
explicit IrcUser(const std::string& name);
std::string nick;
std::string host;
private:
IrcUser(const IrcUser&) = delete;
IrcUser(IrcUser&&) = delete;
IrcUser& operator=(const IrcUser&) = delete;
IrcUser& operator=(IrcUser&&) = delete;
};
#endif // IRC_USER_INCLUDED