summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-08 21:59:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-08 21:59:17 +0300
commit19535676169fea739dec9b582ad1470c768faae9 (patch)
tree59dc056ee5a5aeb5da330ada4b58ee9714aa9c22 /protocols/Discord/src/proto.h
parent5b00b966c446a17b23e5ca38504c829e064e08b8 (diff)
Discord: support for changing nick names in chats
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r--protocols/Discord/src/proto.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index 29d83b69d5..fea2cf5ee7 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -199,6 +199,15 @@ class CDiscordProto : public PROTO<CDiscordProto>
HGENMENU m_hMenuLeaveGuild;
//////////////////////////////////////////////////////////////////////////////////////
+ // group chats
+
+ int __cdecl GroupchatEventHook(WPARAM, LPARAM);
+ int __cdecl GroupchatMenuHook(WPARAM, LPARAM);
+
+ void Chat_SendPrivateMessage(GCHOOK *gch);
+ void Chat_ProcessLogMenu(GCHOOK *gch);
+
+ //////////////////////////////////////////////////////////////////////////////////////
// misc methods
SnowFlake getId(const char *szName);
@@ -248,15 +257,13 @@ public:
int __cdecl OnOptionsInit(WPARAM, LPARAM);
int __cdecl OnDbEventRead(WPARAM, LPARAM);
- int __cdecl GroupchatEventHook(WPARAM, LPARAM);
- int __cdecl GroupchatMenuHook(WPARAM, LPARAM);
-
// dispatch commands
void OnCommandChannelCreated(const JSONNode&);
void OnCommandChannelDeleted(const JSONNode&);
void OnCommandGuildCreate(const JSONNode&);
void OnCommandGuildDelete(const JSONNode&);
void OnCommandGuildRemoveMember(const JSONNode&);
+ void OnCommandGuildUpdateMember(const JSONNode&);
void OnCommandGuildSync(const JSONNode&);
void OnCommandFriendAdded(const JSONNode&);
void OnCommandFriendRemoved(const JSONNode&);