summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-04-25 16:02:55 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-04-25 16:02:55 +0000
commit51f6d8192d7deb99925fda250085cf3f7c42f34e (patch)
tree3d5f9a6e72324676f30f213ae4e45ca0e0d830b5
parent50b715009438967fa9b37a62649db216ce8021b7 (diff)
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
-rw-r--r--MirandaPlugin/Templates/1033/base.cpp12
-rw-r--r--MirandaPlugin/Templates/1033/resource.h2
2 files changed, 11 insertions, 3 deletions
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)
diff --git a/MirandaPlugin/Templates/1033/resource.h b/MirandaPlugin/Templates/1033/resource.h
index b18d761..ae3fd89 100644
--- a/MirandaPlugin/Templates/1033/resource.h
+++ b/MirandaPlugin/Templates/1033/resource.h
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by MetaContacts.rc
+// Used by [!output PROJECT_NAME].rc
//
[!if OPTIONS_PAGE]
#define IDD_OPT1 109