diff options
Diffstat (limited to 'plugins/Folders')
-rw-r--r-- | plugins/Folders/commonheaders.h | 18 | ||||
-rw-r--r-- | plugins/Folders/folders.cpp | 9 |
2 files changed, 1 insertions, 26 deletions
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;
}
|