diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-05 15:39:50 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-05 15:39:50 +0000 |
commit | 357af8c5a3cf922818ee014a8f2b54a799917eea (patch) | |
tree | 2ed1b38f979d7b3991f9ca9a4103347f2fddfe62 /plugins/Variables | |
parent | a039e3378554f4f7b12a38722f72dfded2f4b277 (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/Variables')
-rw-r--r-- | plugins/Variables/main.cpp | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/plugins/Variables/main.cpp b/plugins/Variables/main.cpp index f2718b8b03..42663d69a0 100644 --- a/plugins/Variables/main.cpp +++ b/plugins/Variables/main.cpp @@ -60,36 +60,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) }
/////////////////////////////////////////////////////////////////////////////////////////
-// MirandaPluginInfo - returns an information about a plugin
-
-PLUGININFO pluginInfo = {
- sizeof(PLUGININFO),
-#ifdef _WIN64
- "Variables (x64, Unicode)",
-#else
-#ifdef UNICODE
- "Variables (Unicode)",
-#else
- "Variables",
-#endif
-#endif
- __VERSION_DWORD,
- "Adds support for dynamic variables in strings for plugins",
- "P Boon",
- "unregistered@users.sourceforge.net",
- "© 2003-2008 P. Boon, Ricardo Pescuma, George Hazan",
- "http://www.miranda-im.org/",
- UNICODE_AWARE,
- 0
-};
-
-extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
-{
- g_mirandaVersion = mirandaVersion;
- return &pluginInfo;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
// MirandaPluginInfoEx - returns the extended information about a plugin
PLUGININFOEX pluginInfoEx = {
@@ -104,7 +74,7 @@ PLUGININFOEX pluginInfoEx = { #endif
#endif
__VERSION_DWORD,
- "Adds support for dynamic variables in strings for plugins",
+ "Adds support for dynamic variables in strings for plugins.",
"P Boon",
"unregistered@users.sourceforge.net",
"© 2003-2008 P. Boon, Ricardo Pescuma, George Hazan",
@@ -135,7 +105,7 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces( void ) extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
- if (UnicodeCheck(pluginInfo.shortName, FALSE))
+ if (UnicodeCheck(pluginInfoEx.shortName, FALSE))
return 0;
mir_getMMI( &mmi );
|