summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/stdafx.h')
-rw-r--r--plugins/UserInfoEx/src/stdafx.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/plugins/UserInfoEx/src/stdafx.h b/plugins/UserInfoEx/src/stdafx.h
index c34ad85bde..ce7655e304 100644
--- a/plugins/UserInfoEx/src/stdafx.h
+++ b/plugins/UserInfoEx/src/stdafx.h
@@ -48,7 +48,6 @@ using namespace std;
* Miranda NG SDK includes and macros
***********************************************************************************************************/
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_button.h>
#include <m_clistint.h>
@@ -159,18 +158,23 @@ unsigned int hashSettingW_M2(const char * key); //new Murma2 hash
* UserInfoEx global variables
***********************************************************************************************************/
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODNAME)
+ {}
+};
+
typedef struct _MGLOBAL
{
- DWORD mirandaVersion; // mirandaVersion
- BYTE CanChangeDetails : 1; // is service to upload own contact information for icq present?
- BYTE TzIndexExist : 1; // Win Reg has Timzone Index Info
- BYTE PopupActionsExist : 1; // Popup++ or MS_POPUP_REGISTERACTIONS exist
- BYTE ShowPropsheetColours : 1; // cached SET_PROPSHEET_SHOWCOLOURS database value
- BYTE WantAeroAdaption : 1; // reserved for later use
+ BYTE CanChangeDetails : 1; // is service to upload own contact information for icq present?
+ BYTE TzIndexExist : 1; // Win Reg has Timzone Index Info
+ BYTE PopupActionsExist : 1; // Popup++ or MS_POPUP_REGISTERACTIONS exist
+ BYTE ShowPropsheetColours : 1; // cached SET_PROPSHEET_SHOWCOLOURS database value
+ BYTE WantAeroAdaption : 1; // reserved for later use
} MGLOBAL, *LPMGLOBAL;
-extern HINSTANCE ghInst;
-extern MGLOBAL myGlobals;
+extern MGLOBAL myGlobals;
extern int nCountriesCount;
extern struct CountryListEntry *countries;