diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-10 23:09:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-10 23:09:50 +0300 |
commit | 7346b03e8c19eb1c99aa7cb64948c662194ff83d (patch) | |
tree | 6456dce415e70ac9a6c98f00e9f8b96993fc87f8 /protocols/ICQ-WIM/src/proto.h | |
parent | 3ed82dc60191a4bee2a1d59e9da51b5106d019fb (diff) |
fixes #1835 (basic support for MRA mail notifications: displays unread message count, incoming emails, popups)
Diffstat (limited to 'protocols/ICQ-WIM/src/proto.h')
-rw-r--r-- | protocols/ICQ-WIM/src/proto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/proto.h b/protocols/ICQ-WIM/src/proto.h index dd241ad8fa..325c745a32 100644 --- a/protocols/ICQ-WIM/src/proto.h +++ b/protocols/ICQ-WIM/src/proto.h @@ -37,6 +37,8 @@ #define ICQ_API_SERVER "https://api.icq.net" #define ICQ_ROBUST_SERVER "https://rapi.icq.net" +#define PS_GOTO_INBOX "/GotoInbox" + #define WIM_CAP_VOIP_VOICE "094613504c7f11d18222444553540000" #define WIM_CAP_VOIP_VIDEO "094613514c7f11d18222444553540000" #define WIM_CAP_FILETRANSFER "094613434c7f11d18222444553540000" @@ -201,6 +203,7 @@ class CIcqProto : public PROTO<CIcqProto> void ProcessHistData(const JSONNode&); void ProcessImState(const JSONNode&); void ProcessMyInfo(const JSONNode&); + void ProcessNotification(const JSONNode&); void ProcessPermissions(const JSONNode&); void ProcessPresence(const JSONNode&); void ProcessTyping(const JSONNode&); @@ -220,6 +223,9 @@ class CIcqProto : public PROTO<CIcqProto> CIcqDlgBase *m_pdlgEditIgnore; + int m_unreadEmails = -1; + CMStringA m_szMailBox; + //////////////////////////////////////////////////////////////////////////////////////// // group chats @@ -276,6 +282,8 @@ class CIcqProto : public PROTO<CIcqProto> INT_PTR __cdecl CreateAccMgrUI(WPARAM, LPARAM); INT_PTR __cdecl EditIgnoreList(WPARAM, LPARAM); + INT_PTR __cdecl GetEmailCount(WPARAM, LPARAM); + INT_PTR __cdecl GotoInbox(WPARAM, LPARAM); INT_PTR __cdecl UploadGroups(WPARAM, LPARAM); //////////////////////////////////////////////////////////////////////////////////////// |