diff options
Diffstat (limited to 'plugins/MenuItemEx/src/stdafx.h')
-rw-r--r-- | plugins/MenuItemEx/src/stdafx.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/MenuItemEx/src/stdafx.h b/plugins/MenuItemEx/src/stdafx.h index 29b5add4d8..7c2d4d0aa6 100644 --- a/plugins/MenuItemEx/src/stdafx.h +++ b/plugins/MenuItemEx/src/stdafx.h @@ -20,6 +20,7 @@ #include <m_genmenu.h>
#include <m_popup.h>
#include <m_message.h>
+#include <m_gui.h>
#include <m_fingerprint.h>
#include <m_metacontacts.h>
@@ -68,4 +69,29 @@ int OptionsInit(WPARAM, LPARAM); extern const int vf_default;
+class COptDialog : public CDlgBase
+{
+private:
+ DWORD m_flags;
+
+ CCtrlCheck m_chkVis, m_chkAlpha, m_chkHide, m_chkIgnore, m_chkProtos, m_chkAdded, m_chkAuthReq, m_chkRecvFiles, m_chkCopyIP, m_chkCopyMirver, m_chkStatusMsg,
+ m_chkSMName, m_chkCopyID, m_chkCopyIDName, m_chkShowID, m_chkTrimID, m_chkIgnoreHide;
+ CCtrlLabel m_lblHint;
+
+protected:
+ bool OnInitDialog() override;
+ bool OnApply() override;
+
+ void OnVisChange(CCtrlBase*);
+ void OnIgnoreChange(CCtrlBase*);
+ void OnCopyIDChange(CCtrlBase*);
+ void OnStatusMsgChange(CCtrlBase*);
+ void OnShowIDChange(CCtrlBase*);
+
+ void EnableWindowChecks();
+
+public:
+ COptDialog();
+};
+
#endif
|