diff options
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 8d0e6c24fb..b822bbf323 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -117,6 +117,18 @@ class CDiscordProto : public PROTO<CDiscordProto> m_bTerminated; // Miranda's going down ////////////////////////////////////////////////////////////////////////////////////// + // gateway + + CMStringA m_szGateway; + HANDLE + m_hGatewayNetlibUser, // the separate netlib user handle for gateways + m_hGatewayConnection; // gateway connection + void __cdecl GatewayThread(void*); + void GatewaySend(int opCode, const char*); + + void OnReceiveGateway(NETLIBHTTPREQUEST*, AsyncHttpRequest*); + + ////////////////////////////////////////////////////////////////////////////////////// // options CMOption<wchar_t*> m_wszEmail; // my own email |