#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 "version.h" #include "resource.h" #define MODULENAME "StatusManager" #include "commonstatus.h" #include "KeepStatus\keepstatus.h" #include "StartupStatus\startupstatus.h" #include "AdvancedAutoAway\advancedautoaway.h" extern HINSTANCE hInst; bool IsSubPluginEnabled(const char *name); class CSubPluginsOptionsDlg : CPluginDlgBase { private: CCtrlCheck m_enableKeepStatus; CCtrlCheck m_enableStartupStatus; CCtrlCheck m_enableAdvancedAutoAway; protected: void OnInitDialog(); void OnApply(); public: CSubPluginsOptionsDlg(); static int OnOptionsInit(WPARAM wParam, LPARAM); static CDlgBase *CreateOptionsPage() { return new CSubPluginsOptionsDlg(); } }; #endif //_COMMON_H_