diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 21:25:08 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 21:25:08 +0000 |
commit | 5e4ecb158a9835d79536326835287d49f22d65f1 (patch) | |
tree | f2ebb66a27170f790fbd7893d81b07f7fb0ea723 /plugins/Gender | |
parent | 6dfdccb3decd016ced438309d326547e5244604e (diff) |
compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@56 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Gender')
-rw-r--r-- | plugins/Gender/commonheaders.h | 2 | ||||
-rw-r--r-- | plugins/Gender/main.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Gender/commonheaders.h b/plugins/Gender/commonheaders.h index ef43423b66..dd81cada93 100644 --- a/plugins/Gender/commonheaders.h +++ b/plugins/Gender/commonheaders.h @@ -26,6 +26,8 @@ #ifndef COMMHEADERS_H
#define COMMHEADERS_H
+#define MIRANDA_VER 0x0A00
+
#include <stdio.h> //needed by m_utils.h
#include <stddef.h> // needed by m_icolib.h > r9256
diff --git a/plugins/Gender/main.cpp b/plugins/Gender/main.cpp index 8b3d9b9bb5..b764902812 100644 --- a/plugins/Gender/main.cpp +++ b/plugins/Gender/main.cpp @@ -45,6 +45,7 @@ byte bDrawNoGenderIcon = 0; // enable icon when no info? byte bContactMenuItems = 1; // do we need a contact menu items?
byte bMetaAvail = 0; // metacontacts installed?
int hLangpack;
+struct MM_INTERFACE mmi;
extern int onOptInitialise(WPARAM wParam, LPARAM lParam);
@@ -446,7 +447,8 @@ int onSystemOKToExit(WPARAM wParam,LPARAM lParam) extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
- mir_getLP(&pluginInfoEx);
+ mir_getLP(&pluginInfo);
+ mir_getMMI(&mmi);
hHookModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
hSystemOKToExit = HookEvent(ME_SYSTEM_OKTOEXIT,onSystemOKToExit);
|