summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-17 16:00:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-17 16:04:23 +0300
commita61f99f45ad4707f1654544d2ba6438a8556815c (patch)
tree63d3ada9225dbf52ca23bd8b32ef35bde858275e /protocols/Discord/src/proto.h
parentc6a0095ad307a43fc83497bbb3efbc60052f6ada (diff)
Discord: dynamic user addition processing
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r--protocols/Discord/src/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index 051095d8e8..f201306e9b 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -227,6 +227,7 @@ public:
int __cdecl OnDbEventRead(WPARAM, LPARAM);
// dispatch commands
+ void OnCommandFriendAdded(const JSONNode&);
void OnCommandFriendRemoved(const JSONNode&);
void OnCommandMessage(const JSONNode&);
void OnCommandPresence(const JSONNode&);
@@ -258,6 +259,7 @@ public:
void OnReceiveAvatar(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
// Misc
+ void ProcessType(CDiscordUser *pUser, const JSONNode&);
void SetServerStatus(int iStatus);
CMStringW GetAvatarFilename(MCONTACT hContact);