diff options
Diffstat (limited to 'protocols/Slack/src/slack_dialogs.h')
-rw-r--r-- | protocols/Slack/src/slack_dialogs.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/protocols/Slack/src/slack_dialogs.h b/protocols/Slack/src/slack_dialogs.h new file mode 100644 index 0000000000..cd7f78226d --- /dev/null +++ b/protocols/Slack/src/slack_dialogs.h @@ -0,0 +1,26 @@ +#ifndef _SLACK_DIALOGS_H_ +#define _SLACK_DIALOGS_H_ + +class CSlackOAuth : public CProtoDlgBase<CSlackProto> +{ + typedef CProtoDlgBase<CSlackProto> CSuper; + +private: + char m_authCode[40]; + + CCtrlHyperlink m_authorize; + CCtrlEdit m_code; + CCtrlButton m_ok; + +protected: + void OnInitDialog(); + void OnOk(CCtrlButton*); + void OnClose(); + +public: + CSlackOAuth(CSlackProto *proto); + + const char *GetAuthCode(); +}; + +#endif //_SLACK_DIALOGS_H_ |