From bd1739ee0ce7af9d5849b8902de4be82432eea54 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 8 Feb 2013 20:43:35 +0000 Subject: removed not needed interfaces git-svn-id: http://svn.miranda-ng.org/main/trunk@3486 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewEventNotify/src/main.cpp | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'plugins/NewEventNotify/src') diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 4719ef820d..6c2c286396 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -46,7 +46,8 @@ PLUGININFOEX pluginInfo = { "GNU GPL", "http://miranda-ng.org/", UNICODE_AWARE, - {0x3503D584, 0x6234, 0x4BEF, {0xA5, 0x53, 0x6C, 0x1B, 0x9C, 0xD4, 0x71, 0xF2 } } // {3503D584-6234-4BEF-A553-6C1B9CD471F2} + // {3503D584-6234-4BEF-A553-6C1B9CD471F2} + {0x3503D584, 0x6234, 0x4BEF, {0xA5, 0x53, 0x6C, 0x1B, 0x9C, 0xD4, 0x71, 0xF2}} }; //--------------------------- @@ -76,15 +77,6 @@ int HookedNewEvent(WPARAM wParam, LPARAM lParam) dbe.cbSize = sizeof(dbe); CallService(MS_DB_EVENT_GET, (WPARAM)lParam, (LPARAM)&dbe); - // Nightwish (no popups for RSS contacts at all...) - if (pluginOptions.bNoRSS) - { - if (dbe.szModule != NULL) { - if (!strncmp(dbe.szModule, "RSS", 3)) - return 0; - } - } - //do not show popups for sub-contacts if (hContact && ServiceExists(MS_MC_GETMETACONTACT) && CallService(MS_MC_GETMETACONTACT, (WPARAM)hContact, 0)) return 0; @@ -172,8 +164,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo; } -extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_EVENTNOTIFY, MIID_LAST}; - extern "C" __declspec(dllexport) int Load(void) { hHookedInit = HookEvent(ME_SYSTEM_MODULESLOADED, HookedInit); @@ -200,7 +190,7 @@ extern "C" __declspec(dllexport) int Unload(void) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { - hInst=hinstDLL; + hInst = hinstDLL; return TRUE; } -- cgit v1.2.3