diff options
-rw-r--r-- | MirandaPlugin/Templates/1033/base.cpp | 12 | ||||
-rw-r--r-- | MirandaPlugin/Templates/1033/resource.h | 2 |
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
|