diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-31 19:48:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-31 19:48:57 +0300 |
commit | 7bb41bcc7824ab4ae248992df3ac82e6b148720f (patch) | |
tree | e150a54654f8735e0540ce92b79a521c68037e66 /plugins | |
parent | bdd6a8a6b981a019e6818230077567b4fb51604c (diff) |
useless wrappers removed & replaced with PROTO_INTERFACE method calls
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewsAggregator/Src/NewsAggregator.cpp | 1 | ||||
-rw-r--r-- | plugins/NewsAggregator/Src/Services.cpp | 6 | ||||
-rw-r--r-- | plugins/NewsAggregator/Src/stdafx.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/plugins/NewsAggregator/Src/NewsAggregator.cpp b/plugins/NewsAggregator/Src/NewsAggregator.cpp index bc9d91ac3a..57eaa475f7 100644 --- a/plugins/NewsAggregator/Src/NewsAggregator.cpp +++ b/plugins/NewsAggregator/Src/NewsAggregator.cpp @@ -78,7 +78,6 @@ extern "C" __declspec(dllexport) int Load(void) CreateProtoServiceFunction(MODULE, PS_LOADICON, NewsAggrLoadIcon);
CreateProtoServiceFunction(MODULE, PSS_GETINFO, NewsAggrGetInfo);
CreateProtoServiceFunction(MODULE, PS_GETAVATARINFO, NewsAggrGetAvatarInfo);
- CreateProtoServiceFunction(MODULE, PSR_MESSAGE, NewsAggrRecvMessage);
CreateServiceFunction(MS_NEWSAGGREGATOR_CHECKALLFEEDS, CheckAllFeeds);
CreateServiceFunction(MS_NEWSAGGREGATOR_ADDFEED, AddFeed);
diff --git a/plugins/NewsAggregator/Src/Services.cpp b/plugins/NewsAggregator/Src/Services.cpp index 92bfa6aa8a..885f311fe1 100644 --- a/plugins/NewsAggregator/Src/Services.cpp +++ b/plugins/NewsAggregator/Src/Services.cpp @@ -213,12 +213,6 @@ INT_PTR NewsAggrGetAvatarInfo(WPARAM wParam, LPARAM lParam) return GAIR_WAITFOR;
}
-INT_PTR NewsAggrRecvMessage(WPARAM, LPARAM lParam)
-{
- CallService(MS_PROTO_RECVMSG, 0, lParam);
- return 0;
-}
-
void UpdateMenu(bool State)
{
if (!State) // to enable auto-update
diff --git a/plugins/NewsAggregator/Src/stdafx.h b/plugins/NewsAggregator/Src/stdafx.h index c1091c1f63..c5c66a8116 100644 --- a/plugins/NewsAggregator/Src/stdafx.h +++ b/plugins/NewsAggregator/Src/stdafx.h @@ -108,7 +108,6 @@ INT_PTR NewsAggrGetStatus(WPARAM/* wp*/, LPARAM/* lp*/); INT_PTR NewsAggrLoadIcon(WPARAM wParam, LPARAM lParam);
INT_PTR NewsAggrGetInfo(WPARAM wParam, LPARAM lParam);
INT_PTR NewsAggrGetAvatarInfo(WPARAM wParam, LPARAM lParam);
-INT_PTR NewsAggrRecvMessage(WPARAM wParam, LPARAM lParam);
INT_PTR CheckAllFeeds(WPARAM wParam, LPARAM lParam);
INT_PTR AddFeed(WPARAM wParam, LPARAM lParam);
|