diff options
Diffstat (limited to 'db3x_autobackups')
-rw-r--r-- | db3x_autobackups/init.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/db3x_autobackups/init.c b/db3x_autobackups/init.c index a282f0c..a515d90 100644 --- a/db3x_autobackups/init.c +++ b/db3x_autobackups/init.c @@ -174,7 +174,7 @@ static PLUGININFOEX pluginInfo = { "Provides Miranda database support: global settings, contacts, history, settings per contact.",
"Miranda-IM project",
"mail@scottellis.com.au",
- "Copyright 2000-2005 Miranda-IM project",
+ "Copyright 2000-2007 Miranda-IM project",
"",
0,
DEFMOD_DB,
@@ -202,6 +202,16 @@ __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion) return &pluginInfo;
}
+__declspec(dllexport) PLUGININFO * MirandaPluginInfo(DWORD mirandaVersion)
+{
+ if ( mirandaVersion < PLUGIN_MAKE_VERSION(0,6,0,15)) {
+ MessageBox( NULL, _T("The db3x plugin cannot be loaded. It requires Miranda IM 0.6.0.15 or later."), _T("db3x Plugin"), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST );
+ return NULL;
+ }
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO *)&pluginInfo;
+}
+
static const MUUID interfaces[] = {MIID_DATABASE, MIID_LAST};
__declspec(dllexport) const MUUID * MirandaPluginInterfaces(void)
{
|