From 69c00c5b8999f66f27475342c78cc4488959e8bb Mon Sep 17 00:00:00 2001 From: aunsane Date: Thu, 16 Mar 2017 00:52:31 +0300 Subject: Slack: some improvements --- protocols/Slack/src/slack_proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/Slack/src/slack_proto.h') diff --git a/protocols/Slack/src/slack_proto.h b/protocols/Slack/src/slack_proto.h index 25b667eea2..c7dd739f32 100644 --- a/protocols/Slack/src/slack_proto.h +++ b/protocols/Slack/src/slack_proto.h @@ -89,6 +89,7 @@ private: static CSlackProto* GetContactAccount(MCONTACT hContact); int __cdecl OnAccountLoaded(WPARAM, LPARAM); + int __cdecl OnAccountDeleted(WPARAM, LPARAM); INT_PTR __cdecl OnAccountManagerInit(WPARAM, LPARAM); @@ -143,6 +144,8 @@ private: int __cdecl OnPreCreateMessage(WPARAM wParam, LPARAM lParam); // utils + static int SlackToMirandaStatus(const char *presence); + static void ShowNotification(const TCHAR *message, int flags = 0, MCONTACT hContact = NULL); static void ShowNotification(const TCHAR *caption, const TCHAR *message, int flags = 0, MCONTACT hContact = NULL); -- cgit v1.2.3