From 357af8c5a3cf922818ee014a8f2b54a799917eea Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 5 Jun 2012 15:39:50 +0000 Subject: removed old PLUGININFO. plugin info cleanup starts git-svn-id: http://svn.miranda-ng.org/main/trunk@312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/KeyboardNotify/main.cpp | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'plugins/KeyboardNotify/main.cpp') diff --git a/plugins/KeyboardNotify/main.cpp b/plugins/KeyboardNotify/main.cpp index ff131f0c89..b1e61b278d 100644 --- a/plugins/KeyboardNotify/main.cpp +++ b/plugins/KeyboardNotify/main.cpp @@ -307,7 +307,7 @@ BYTE bMetaProtoEnabled = 0; PLUGININFOEX pluginInfo={ - sizeof(PLUGININFO), + sizeof(PLUGININFOEX), "Keyboard Notify Ext.", PLUGIN_MAKE_VERSION(1,5,7,7), "Flashes your keyboard LEDs when a message has arrived", @@ -1134,40 +1134,20 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) } - - -extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) -{ - - pluginInfo.cbSize = sizeof(PLUGININFO); - return (PLUGININFO*)&pluginInfo; - -} - - - extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) { - - pluginInfo.cbSize = sizeof(PLUGININFOEX); return &pluginInfo; - } - - #define MIID_KBDNOTIFY {0x119d7288, 0x2050, 0x448d, { 0x99, 0x00, 0xd8, 0x6a, 0xc7, 0x04, 0x26, 0xbf }} static const MUUID interfaces[] = {MIID_KBDNOTIFY, MIID_LAST}; extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) { - return interfaces; - } extern "C" __declspec(dllexport) int Load(PLUGINLINK *link) { - pluginLink = link; mir_getLP(&pluginInfo); mir_getMMI(&mmi); -- cgit v1.2.3