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/mTextControl/src/main.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'plugins/mTextControl/src/main.cpp') diff --git a/plugins/mTextControl/src/main.cpp b/plugins/mTextControl/src/main.cpp index 285a3f2c8d..5418a7373b 100644 --- a/plugins/mTextControl/src/main.cpp +++ b/plugins/mTextControl/src/main.cpp @@ -52,20 +52,6 @@ PLUGININFOEX pluginInfoEx = MTEXT_UUID }; -PLUGININFO pluginInfo = -{ - sizeof(PLUGININFO), - pluginInfoEx.shortName, - pluginInfoEx.version, - pluginInfoEx.description, - pluginInfoEx.author, - pluginInfoEx.authorEmail, - pluginInfoEx.copyright, - pluginInfoEx.homepage, - pluginInfoEx.flags, - pluginInfoEx.replacesDefaultModule -}; - extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) { hInst=hinstDLL; @@ -75,15 +61,8 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRese static HANDLE hModulesLoaded = 0; static int ModulesLoaded(WPARAM wParam,LPARAM lParam); -extern "C" __declspec(dllexport) PLUGININFO *MirandaPluginInfo(DWORD mirandaVersion) -{ - pluginInfo.cbSize = sizeof(PLUGININFO); - return &pluginInfo; -} - extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) { - pluginInfoEx.cbSize = sizeof(PLUGININFOEX); return &pluginInfoEx; } -- cgit v1.2.3