From e3506fe66886912cee16a91793d17010a87eecef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 10 Feb 2015 21:27:38 +0000 Subject: various rudiments & atavisms exterminated git-svn-id: http://svn.miranda-ng.org/main/trunk@12085 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/WAConnection.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAConnection.h') diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h index 957fcf7dfc..03637b8c3a 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h +++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h @@ -322,7 +322,6 @@ private: BinTreeNodeWriter out; WAListener *m_pEventHandler; WAGroupListener *m_pGroupEventHandler; - bool verbose; int iqid; std::map pending_server_requests; IMutex *m_pMutex; @@ -370,11 +369,13 @@ public: static int tokenLookup(const std::string&); void logData(const char *format, ...); + void flush() { out.flushBuffer(true); } static std::string removeResourceFromJid(const std::string &jid); + void setFlush(bool _flush) { if (out.bFlush = _flush) out.flushBuffer(true); } + void setLogin(WALogin *login); - void setVerboseId(bool b); void sendMessage(FMessage* message) throw(WAException); void sendAvailableForChat() throw(WAException); -- cgit v1.2.3