summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsAppWeb/src/proto.h')
-rw-r--r--protocols/WhatsAppWeb/src/proto.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/protocols/WhatsAppWeb/src/proto.h b/protocols/WhatsAppWeb/src/proto.h
index 14ef70bd94..18f2eded6b 100644
--- a/protocols/WhatsAppWeb/src/proto.h
+++ b/protocols/WhatsAppWeb/src/proto.h
@@ -197,6 +197,14 @@ class WhatsAppProto : public PROTO<WhatsAppProto>
void SendKeepAlive();
void SetServerStatus(int iStatus);
+ /// Popups /////////////////////////////////////////////////////////////////////////////
+
+ HANDLE m_hPopupClass;
+ CMOption<bool> m_bUsePopups;
+
+ void InitPopups(void);
+ void Popup(MCONTACT hContact, const wchar_t *szMsg, const wchar_t *szTitle);
+
/// Request handlers ///////////////////////////////////////////////////////////////////
void OnGetAvatarInfo(const JSONNode &node, void*);
@@ -213,7 +221,7 @@ class WhatsAppProto : public PROTO<WhatsAppProto>
void OnStreamError(const WANode &node);
void OnSuccess(const WANode &node);
- // binary packets
+ // Binary packets
void ProcessBinaryPacket(const void *pData, size_t cbLen);
/// Avatars ////////////////////////////////////////////////////////////////////////////
@@ -263,6 +271,7 @@ public:
// Options /////////////////////////////////////////////////////////////////////////////
+ CMOption<wchar_t*> m_wszNick; // your nick name in presence
CMOption<wchar_t*> m_wszDefaultGroup; // clist group to store contacts
CMOption<bool> m_bHideGroupchats; // do not open chat windows on creation