From 5e4ecb158a9835d79536326835287d49f22d65f1 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 18 May 2012 21:25:08 +0000 Subject: compilation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@56 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TooltipNotify/src/main.cpp | 6 +++--- plugins/TooltipNotify/ttnotify_10.vcxproj | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'plugins/TooltipNotify') diff --git a/plugins/TooltipNotify/src/main.cpp b/plugins/TooltipNotify/src/main.cpp index a24d621f14..14af3714fe 100644 --- a/plugins/TooltipNotify/src/main.cpp +++ b/plugins/TooltipNotify/src/main.cpp @@ -80,8 +80,6 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) return interfaces; } -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) -{ static char szWrongUsage9x[] = "Warning! You are trying to use unicode version of the plugin on win9x system! " "It can not be working here. You must use ansi version of the plugin."; @@ -117,6 +115,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda #endif }; +extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) +{ return &sPluginInfo; } @@ -151,7 +151,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *pLink) #endif pluginLink = pLink; - mir_getLP(&pluginInfoEx); + mir_getLP(&sPluginInfo); g_pTooltipNotify = new CTooltipNotify(g_hInstDLL); assert(g_pTooltipNotify!=0); diff --git a/plugins/TooltipNotify/ttnotify_10.vcxproj b/plugins/TooltipNotify/ttnotify_10.vcxproj index 3d26822efe..94c83d42b8 100644 --- a/plugins/TooltipNotify/ttnotify_10.vcxproj +++ b/plugins/TooltipNotify/ttnotify_10.vcxproj @@ -49,10 +49,7 @@ D:\SVN\Miranda\Trunk\miranda\include;$(IncludePath) - - Updating revision... - SubWCRev . src\version.wcr src\version.h - + Disabled ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) -- cgit v1.2.3