diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-27 20:40:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-27 20:40:35 +0300 |
commit | 3c0c4ec799f35eb99215758f99491583033c5741 (patch) | |
tree | 465e516f7dc5aa6ba7b8f952601b44c967c68d14 /protocols/Discord/src/proto.h | |
parent | e191ad15875a046f7a243596fe92e99f88cea072 (diff) |
first version of options dialog
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 1da95e1c3d..e0c7e2c073 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -1,12 +1,22 @@ -class DiscordProto : public PROTO<DiscordProto> +class ÑDiscordProto : public PROTO<ÑDiscordProto> { public: - DiscordProto(const char*,const wchar_t*); - ~DiscordProto(); + ÑDiscordProto(const char*,const wchar_t*); + ~ÑDiscordProto(); + + // PROTO_INTERFACE + virtual DWORD_PTR __cdecl GetCaps(int, MCONTACT = 0) override; + + virtual int __cdecl OnEvent(PROTOEVENTTYPE, WPARAM, LPARAM) override; // Services INT_PTR __cdecl GetName(WPARAM, LPARAM); INT_PTR __cdecl GetStatus(WPARAM, LPARAM); + + // Events + int __cdecl OnModulesLoaded(WPARAM, LPARAM); + int __cdecl OnPreShutdown(WPARAM, LPARAM); + int __cdecl OnOptionsInit(WPARAM, LPARAM); }; |