diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 21:05:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 21:05:23 +0300 |
commit | 5ebe9c34375bce857ad3160abba67d6ed2beadaf (patch) | |
tree | 6ec4260f751125db66852d70aed8e106a2527012 /plugins/SecureIM/src/commonheaders.h | |
parent | 754665d1ae053678088144bb833bda76a0d95794 (diff) |
MirLua, MirOTR, New_GPG, OpenSSL, SecureIM -> CMplugin
Diffstat (limited to 'plugins/SecureIM/src/commonheaders.h')
-rw-r--r-- | plugins/SecureIM/src/commonheaders.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/commonheaders.h b/plugins/SecureIM/src/commonheaders.h index e345a3fa51..6770296d73 100644 --- a/plugins/SecureIM/src/commonheaders.h +++ b/plugins/SecureIM/src/commonheaders.h @@ -19,7 +19,6 @@ #include <process.h>
#include <time.h>
-#define __NO_CMPLUGIN_NEEDED
#include <win2k.h>
#include <newpluginapi.h>
#include <m_database.h>
@@ -63,11 +62,18 @@ #define MODULENAME "SecureIM"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
extern char TEMP[MAX_PATH];
extern int TEMP_SIZE;
// shared vars
-extern HINSTANCE g_hInst, g_hIconInst;
+extern HINSTANCE g_hIconInst;
#define PREF_METANODB 0x2000 //!< Flag to indicate message should not be added to db by filter when sending
#define PREF_SIMNOMETA 0x4000 //!< Flag to indicate message should not be inspected by filter on metacontact
|