summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/NewsAggregator.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-06 18:32:12 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-06 18:32:12 +0000
commit97b13834eec468cfceeb43cbe1eeef944f2de7bc (patch)
treec20e17b364aefb95f20f41889b16b3db46a1b0e0 /plugins/NewsAggregator/Src/NewsAggregator.cpp
parentf416a25cafc951228dd12b22af0ac53b4fb7d68f (diff)
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
Diffstat (limited to 'plugins/NewsAggregator/Src/NewsAggregator.cpp')
-rw-r--r--plugins/NewsAggregator/Src/NewsAggregator.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}