From 51f6d8192d7deb99925fda250085cf3f7c42f34e Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 25 Apr 2007 16:02:55 +0000 Subject: removed reference to MetaContacts.rc in resources.h removed some old comments added (commented-out) MirandaPluginInfo function for pre 0.7 compatibility git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@146 4f64403b-2f21-0410-a795-97e2b3489a10 --- MirandaPlugin/Templates/1033/base.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'MirandaPlugin/Templates/1033/base.cpp') diff --git a/MirandaPlugin/Templates/1033/base.cpp b/MirandaPlugin/Templates/1033/base.cpp index db31715..c8a2c29 100644 --- a/MirandaPlugin/Templates/1033/base.cpp +++ b/MirandaPlugin/Templates/1033/base.cpp @@ -23,8 +23,7 @@ PLUGINLINK *pluginLink; PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), - //META_PROTO, - __PLUGIN_NAME, // altered here and on file listing, so as not to match original + __PLUGIN_NAME, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), __DESC, __AUTHOR, @@ -46,6 +45,15 @@ extern "C" __declspec (dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirand return &pluginInfo; } + +/* +// uncomment this for pre 0.7 compatibility +extern "C" __declspec (dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) { + pluginInfo.cbSize = sizeof(PLUGININFO); + return (PLUGININFO*)&pluginInfo; +} +*/ + // TODO: add any interfaces you implement to this list static const MUUID interfaces[] = {MIID_[!output SAFE_PROJECT_NAME_CAPS], MIID_LAST}; extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) -- cgit v1.2.3