Added irc support for lobby dialog. Takes some time to connect before messages can be sent/received. No special stuff yet, no user list, no connection notifications. Still work in progress.
This commit is contained in:
+5
-2
@@ -36,8 +36,13 @@ public:
|
||||
// Set the parameters.
|
||||
void Init(const std::string &serverAddress, unsigned serverPort, bool ipv6, const std::string &nick, const std::string &channel);
|
||||
|
||||
// Send a chat message to the channel.
|
||||
void SendChatMessage(const std::string &msg);
|
||||
|
||||
virtual void SignalTermination();
|
||||
|
||||
IrcCallback &GetCallback();
|
||||
|
||||
protected:
|
||||
|
||||
// Main function of the thread.
|
||||
@@ -46,8 +51,6 @@ protected:
|
||||
const IrcContext &GetContext() const;
|
||||
IrcContext &GetContext();
|
||||
|
||||
IrcCallback &GetCallback();
|
||||
|
||||
private:
|
||||
std::auto_ptr<IrcContext> m_context;
|
||||
IrcCallback &m_callback;
|
||||
|
||||
Reference in New Issue
Block a user