diff options
Diffstat (limited to 'protocols/Slack/src/slack_options.h')
-rw-r--r-- | protocols/Slack/src/slack_options.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/protocols/Slack/src/slack_options.h b/protocols/Slack/src/slack_options.h new file mode 100644 index 0000000000..e0eeda70a3 --- /dev/null +++ b/protocols/Slack/src/slack_options.h @@ -0,0 +1,32 @@ +#ifndef _SLACK_OPTIONS_H_ +#define _SLACK_OPTIONS_H_ + +class CSlackOptionsMain : public CProtoDlgBase<CSlackProto> +{ + typedef CProtoDlgBase<CSlackProto> CSuper; + +private: + CCtrlEdit m_team; + CCtrlEdit m_email; + CCtrlEdit m_password; + CCtrlEdit m_group; + +protected: + void OnInitDialog(); + void OnApply(); + +public: + CSlackOptionsMain(CSlackProto *proto, int idDialog); + + static CDlgBase *CreateAccountManagerPage(void *param, HWND owner) + { + CSlackOptionsMain *page = new CSlackOptionsMain((CSlackProto*)param, IDD_ACCOUNT_MANAGER); + page->SetParent(owner); + page->Show(); + return page; + } + + static CDlgBase *CreateOptionsPage(void *param) { return new CSlackOptionsMain((CSlackProto*)param, IDD_OPTIONS_MAIN); } +}; + +#endif //_SLACK_OPTIONS_H_ |