diff --git a/backends/libcommuni/ircnetworkplugin.h b/backends/libcommuni/ircnetworkplugin.h index ff77d2bccb34f2c1587253c8ef65b4dd01b1b1c7..09534425b74d3d7c4758b8a28f17d0b746ef0f27 100644 --- a/backends/libcommuni/ircnetworkplugin.h +++ b/backends/libcommuni/ircnetworkplugin.h @@ -30,8 +30,15 @@ class IRCNetworkPlugin : public QObject, public NetworkPlugin { void readData(); void sendData(const std::string &string); + private: + MyIrcSession *createSession(const std::string &user, const std::string &hostname, const std::string &nickname, const std::string &password, const std::string &suffix = ""); + std::string getSessionName(const std::string &user, const std::string &legacyName); + std::string getTargetName(const std::string &legacyName); + private: Config *config; QTcpSocket *m_socket; std::map m_sessions; + std::string m_server; + std::string m_identify; }; \ No newline at end of file