summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 15:08:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 15:08:48 +0300
commit8a74e7495ce5ad39de4f5c25121a84d35df90c36 (patch)
tree03e5b4870f09a3163306740c2eebee47bc15b042 /plugins/NewsAggregator/Src/stdafx.h
parentc5bf7d6123dd1c3b82ccb8fdb1b068077e9d56d4 (diff)
CMPlugin to receive a reference to PLUGININFOEX
Diffstat (limited to 'plugins/NewsAggregator/Src/stdafx.h')
-rw-r--r--plugins/NewsAggregator/Src/stdafx.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/NewsAggregator/Src/stdafx.h b/plugins/NewsAggregator/Src/stdafx.h
index 834e47b174..d2215249cd 100644
--- a/plugins/NewsAggregator/Src/stdafx.h
+++ b/plugins/NewsAggregator/Src/stdafx.h
@@ -54,7 +54,7 @@ Boston, MA 02111-1307, USA.
#include "version.h"
#include "resource.h"
-#define MODULE "NewsAggregator"
+#define MODULENAME "NewsAggregator"
#define TAGSDEFAULT L"#<title>#\r\n#<link>#\r\n#<description>#"
#define DEFAULT_AVATARS_FOLDER "NewsAggregator"
#define DEFAULT_UPDATE_TIME 60
@@ -70,12 +70,7 @@ extern wchar_t tszRoot[MAX_PATH];
struct CMPlugin : public PLUGIN<CMPlugin>
{
- CMPlugin() :
- PLUGIN<CMPlugin>(MODULE)
- {
- RegisterProtocol(PROTOTYPE_VIRTUAL);
- SetUniqueId("URL");
- }
+ CMPlugin();
};
//============ STRUCT USED TO MAKE AN UPDATE LIST ============