diff --git a/backends/libcommuni/ircnetworkplugin.h b/backends/libcommuni/ircnetworkplugin.h index ff77d2bccb34f2c1587253c8ef65b4dd01b1b1c7..043089cd807f494b451c35d78106f9e999343658 100644 --- a/backends/libcommuni/ircnetworkplugin.h +++ b/backends/libcommuni/ircnetworkplugin.h @@ -26,12 +26,24 @@ class IRCNetworkPlugin : public QObject, public NetworkPlugin { void handleLeaveRoomRequest(const std::string &user, const std::string &room); + void handleRoomSubjectChangedRequest(const std::string &user, const std::string &room, const std::string &message); + + void tryNextServer(); + public slots: 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::vector m_servers; + int m_currentServer; + std::string m_identify; }; \ No newline at end of file