From 97b13834eec468cfceeb43cbe1eeef944f2de7bc Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 6 Jan 2013 18:32:12 +0000 Subject: added main menu item for disabling auto update (needs to add icons) git-svn-id: http://svn.miranda-ng.org/main/trunk@2999 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/NewsAggregator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/NewsAggregator/Src/NewsAggregator.cpp') diff --git a/plugins/NewsAggregator/Src/NewsAggregator.cpp b/plugins/NewsAggregator/Src/NewsAggregator.cpp index a1d62bf90b..141052d60d 100644 --- a/plugins/NewsAggregator/Src/NewsAggregator.cpp +++ b/plugins/NewsAggregator/Src/NewsAggregator.cpp @@ -29,7 +29,7 @@ HANDLE hChangeFeedDlgList = NULL; XML_API xi = {0}; TCHAR tszRoot[MAX_PATH] = {0}; HANDLE hUpdateMutex; -#define NUM_SERVICES 6 +#define NUM_SERVICES 7 HANDLE hService[NUM_SERVICES]; PLUGININFOEX pluginInfoEx = { @@ -106,6 +106,7 @@ extern "C" __declspec(dllexport) int Load(void) hService[3] = CreateServiceFunction(MS_NEWSAGGREGATOR_EXPORTFEEDS, ExportFeeds); hService[4] = CreateServiceFunction(MS_NEWSAGGREGATOR_CHECKFEED, CheckFeed); hService[5] = CreateServiceFunction(MS_NEWSAGGREGATOR_CHANGEFEED, ChangeFeed); + hService[6] = CreateServiceFunction(MS_NEWSAGGREGATOR_ENABLED, EnableDisable); return 0; } -- cgit v1.2.3