diff options
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index aaa00c0cd5..31fda24fd3 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -411,6 +411,18 @@ class CDiscordProto : public PROTO<CDiscordProto> void OnSendTotp(MHttpResponse *, struct AsyncHttpRequest *);
//////////////////////////////////////////////////////////////////////////////////////
+ // voice
+
+ void InitVoip(bool bEnable);
+
+ INT_PTR __cdecl VoiceCaps(WPARAM, LPARAM);
+ INT_PTR __cdecl VoiceCallCreate(WPARAM, LPARAM);
+ INT_PTR __cdecl VoiceCallAnswer(WPARAM, LPARAM);
+ INT_PTR __cdecl VoiceCallCancel(WPARAM, LPARAM);
+
+ int __cdecl OnVoiceState(WPARAM, LPARAM);
+
+ //////////////////////////////////////////////////////////////////////////////////////
// misc methods
SnowFlake getId(const char *szName);
@@ -472,16 +484,12 @@ public: INT_PTR __cdecl GetMyAvatar(WPARAM, LPARAM);
INT_PTR __cdecl SetMyAvatar(WPARAM, LPARAM);
- INT_PTR __cdecl VoiceCaps(WPARAM, LPARAM);
-
//////////////////////////////////////////////////////////////////////////////////////
// Events
int __cdecl OnOptionsInit(WPARAM, LPARAM);
int __cdecl OnAccountChanged(WPARAM, LPARAM);
- int __cdecl OnVoiceState(WPARAM, LPARAM);
-
//////////////////////////////////////////////////////////////////////////////////////
// dispatch commands
|