diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 20:43:35 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 20:43:35 +0000 |
commit | bd1739ee0ce7af9d5849b8902de4be82432eea54 (patch) | |
tree | fc84c3d85f668c83988d41f0fc40fef0924ddf2f /plugins/NewEventNotify | |
parent | 7a3c2fe12668ba4346e2b31b34f0b0c4b9ac590d (diff) |
removed not needed interfaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@3486 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewEventNotify')
-rw-r--r-- | plugins/NewEventNotify/src/main.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
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;
}
|