summaryrefslogtreecommitdiff
path: root/plugins/mTextControl/src/main.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-05 15:39:50 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-05 15:39:50 +0000
commit357af8c5a3cf922818ee014a8f2b54a799917eea (patch)
tree2ed1b38f979d7b3991f9ca9a4103347f2fddfe62 /plugins/mTextControl/src/main.cpp
parenta039e3378554f4f7b12a38722f72dfded2f4b277 (diff)
removed old PLUGININFO. plugin info cleanup starts
git-svn-id: http://svn.miranda-ng.org/main/trunk@312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mTextControl/src/main.cpp')
-rw-r--r--plugins/mTextControl/src/main.cpp21
1 files changed, 0 insertions, 21 deletions
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;
}