#ifndef _COMMON_H_ #define _COMMON_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "version.h" #include "resource.h" struct CMPlugin : public PLUGIN { CMPlugin(); bool bMirandaLoaded; int Load() override; int Unload() override; }; struct CFakePlugin : public CMPluginBase { CFakePlugin(const char *szModuleName); }; #include "commonstatus.h" #include "keepstatus.h" #include "startupstatus.h" #include "advancedautoaway.h" extern CFakePlugin AAAPlugin, KSPlugin, SSPlugin; extern CMOption g_AAAEnabled, g_KSEnabled, g_SSEnabled; int OnCommonOptionsInit(WPARAM wParam, LPARAM); void InitCommonOptions(); char* StatusModeToDbSetting(int status, const char *suffix); uint32_t StatusModeToProtoFlag(int status); #endif //_COMMON_H_