From 357af8c5a3cf922818ee014a8f2b54a799917eea Mon Sep 17 00:00:00 2001
From: Kirill Volinsky <mataes2007@gmail.com>
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/Folders/commonheaders.h | 18 ------------------
 plugins/Folders/folders.cpp     |  9 +--------
 2 files changed, 1 insertion(+), 26 deletions(-)

(limited to 'plugins/Folders')

diff --git a/plugins/Folders/commonheaders.h b/plugins/Folders/commonheaders.h
index 3cab4024b1..7ce41f3fe6 100644
--- a/plugins/Folders/commonheaders.h
+++ b/plugins/Folders/commonheaders.h
@@ -59,22 +59,4 @@ extern char ModuleName[];
 extern HINSTANCE hInstance;
 extern CFoldersList &lstRegisteredFolders;
 
-#define OLD_MIRANDAPLUGININFO_SUPPORT PLUGININFO oldPluginInfo = { \
-	sizeof(PLUGININFO), \
-	pluginInfo.shortName, \
-	pluginInfo.version, \
-	pluginInfo.description, \
-	pluginInfo.author, \
-	pluginInfo.authorEmail, \
-	pluginInfo.copyright, \
-	pluginInfo.homepage, \
-	pluginInfo.flags, \
-	pluginInfo.replacesDefaultModule \
-}; \
-\
-extern "C" __declspec(dllexport) PLUGININFO *MirandaPluginInfo(DWORD mirandaVersion) \
-{ \
-	return &oldPluginInfo; \
-}
-
 #endif //FOLDERS_COMMONHEADERS_H
\ No newline at end of file
diff --git a/plugins/Folders/folders.cpp b/plugins/Folders/folders.cpp
index 4628f2ffbc..7967aae009 100644
--- a/plugins/Folders/folders.cpp
+++ b/plugins/Folders/folders.cpp
@@ -45,13 +45,11 @@ PLUGININFOEX pluginInfo = {
 	__AUTHOREMAIL,
 	__COPYRIGHT,
 	__AUTHORWEB,
-	1,
+	UNICODE_AWARE,
 	0,
   {0x2f129563, 0x2c7d, 0x4a9a, {0xb9, 0x48, 0x97, 0xdf, 0xcc, 0x0a, 0xfd, 0xd7}} //{2f129563-2c7d-4a9a-b948-97dfcc0afdd7}
 }; //not used
 
-OLD_MIRANDAPLUGININFO_SUPPORT;
-
 #ifdef _DEBUG
 
 typedef struct{
@@ -163,11 +161,6 @@ HANDLE hTestPlugin;
 
 extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion) 
 {
-#if _MSC_VER >= 1300
-	Log("%s", "Entering function " __FUNCTION__);
-	Log("%s", "Leaving function " __FUNCTION__);
-#endif
-	pluginInfo.cbSize = sizeof(PLUGININFOEX);
 	return &pluginInfo;
 }
 
-- 
cgit v1.2.3