- more thread guards for IRC Client

This commit is contained in:
Mark Vejvoda
2011-01-02 04:16:24 +00:00
parent 3fed09ab32
commit 9150701e70
2 changed files with 18 additions and 8 deletions

View File

@@ -90,7 +90,8 @@ public:
std::vector<string> & getCachedNickList() { return eventData; }
void setCachedNickList(std::vector<string> &list) { eventData = list; }
IRCCallbackInterface * getCallbackObj();
Mutex * getMutexIRCCB() { return &mutexIRCCB; }
IRCCallbackInterface * getCallbackObj(bool lockObj=true);
void setCallbackObj(IRCCallbackInterface *cb);
};