diff options
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); }; |