summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-27 22:06:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-27 22:06:02 +0300
commit8db6b3f25e173f7c305580fad8cbd67a7121b169 (patch)
treee12f6518d302efc46f159c6a3bf35fce471076a6 /protocols/Discord/src/proto.h
parentcd689cb08d614fb2f405167debec66c7c2ef6843 (diff)
implementation of CDiscordProto::SetStatus
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r--protocols/Discord/src/proto.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index e0c7e2c073..26466bcfae 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -1,14 +1,19 @@
-class ÑDiscordProto : public PROTO<ÑDiscordProto>
+class CDiscordProto : public PROTO<CDiscordProto>
{
+ void __cdecl ServerThread(void*);
+
+ void SetAllContactStatuses(int iStatus);
public:
- ÑDiscordProto(const char*,const wchar_t*);
- ~ÑDiscordProto();
+ CDiscordProto(const char*,const wchar_t*);
+ ~CDiscordProto();
// PROTO_INTERFACE
virtual DWORD_PTR __cdecl GetCaps(int, MCONTACT = 0) override;
+ virtual int __cdecl SetStatus(int iNewStatus) override;
+
virtual int __cdecl OnEvent(PROTOEVENTTYPE, WPARAM, LPARAM) override;
// Services