From b9c2a6953f0fa75a1c4de6079e9c97b3a60be7e5 Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 12 Mar 2017 21:19:21 +0300 Subject: Slack: initial commit --- protocols/Slack/src/slack_options.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 protocols/Slack/src/slack_options.h (limited to 'protocols/Slack/src/slack_options.h') 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 +{ + typedef CProtoDlgBase 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_ -- cgit v1.2.3