diff options
Diffstat (limited to 'MirandaPlugin/Templates/1033/base.cpp')
-rw-r--r-- | MirandaPlugin/Templates/1033/base.cpp | 12 |
1 files changed, 10 insertions, 2 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)
|