From f60c78abfbd5f279b30de729046b805bba8e00b0 Mon Sep 17 00:00:00 2001 From: George Hazan <ghazan@miranda.im> Date: Sat, 7 Apr 2018 20:14:21 +0300 Subject: Proto_GetStatus is used everywhere instead of PS_GETSTATUS --- protocols/Twitter/src/proto.cpp | 6 ------ protocols/Twitter/src/proto.h | 1 - 2 files changed, 7 deletions(-) (limited to 'protocols/Twitter/src') diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index 615db54869..f25e7d86df 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -30,7 +30,6 @@ TwitterProto::TwitterProto(const char *proto_name, const wchar_t *username) : PROTO<TwitterProto>(proto_name, username) { CreateProtoService(PS_CREATEACCMGRUI, &TwitterProto::SvcCreateAccMgrUI); - CreateProtoService(PS_GETSTATUS, &TwitterProto::GetStatus); CreateProtoService(PS_JOINCHAT, &TwitterProto::OnJoinChat); CreateProtoService(PS_LEAVECHAT, &TwitterProto::OnLeaveChat); @@ -195,11 +194,6 @@ INT_PTR TwitterProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam) return (INT_PTR)CreateDialogParam(g_hInstance, MAKEINTRESOURCE(IDD_TWITTERACCOUNT), (HWND)lParam, first_run_dialog, (LPARAM)this); } -INT_PTR TwitterProto::GetStatus(WPARAM, LPARAM) -{ - return m_iStatus; -} - INT_PTR TwitterProto::ReplyToTweet(WPARAM wParam, LPARAM) { MCONTACT hContact = (MCONTACT) wParam; diff --git a/protocols/Twitter/src/proto.h b/protocols/Twitter/src/proto.h index 0d5420bdc0..79fee1f1e0 100644 --- a/protocols/Twitter/src/proto.h +++ b/protocols/Twitter/src/proto.h @@ -48,7 +48,6 @@ public: // Services INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM,LPARAM); - INT_PTR __cdecl GetStatus(WPARAM,LPARAM); INT_PTR __cdecl ReplyToTweet(WPARAM,LPARAM); INT_PTR __cdecl VisitHomepage(WPARAM,LPARAM); INT_PTR __cdecl GetAvatar(WPARAM,LPARAM); -- cgit v1.2.3