diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-09 18:00:37 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-09 18:00:37 +0300 |
commit | 1f71ad2141a4c7d41f806cc4cbaa25cbf321dd73 (patch) | |
tree | eba3de4755c5b49a7bee77eff8d9abde9bf1e5f2 /plugins/NewsAggregator/Src/Options.h | |
parent | 88867d0ec9ebf4b3af4423b71778e837f1deb64f (diff) |
NewsAggregator: auth dialog moved to m_gui
Diffstat (limited to 'plugins/NewsAggregator/Src/Options.h')
-rw-r--r-- | plugins/NewsAggregator/Src/Options.h | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/plugins/NewsAggregator/Src/Options.h b/plugins/NewsAggregator/Src/Options.h index 51bafad7b3..0d75eda729 100644 --- a/plugins/NewsAggregator/Src/Options.h +++ b/plugins/NewsAggregator/Src/Options.h @@ -33,6 +33,8 @@ public: class CFeedEditor : public CDlgBase { + friend class CAuthRequest; + private: typedef CDlgBase CSuper; @@ -45,9 +47,6 @@ private: CCtrlEdit m_checktime; CCtrlSpin m_checktimespin; CCtrlButton m_checkfeed; - CCtrlCheck m_useauth; - CCtrlEdit m_login; - CCtrlEdit m_password; CCtrlEdit m_tagedit; CCtrlButton m_reset; CCtrlButton m_help; @@ -63,6 +62,10 @@ protected: void OnUseAuth(CCtrlBase*); public: + CCtrlCheck m_useauth; + CCtrlEdit m_login; + CCtrlEdit m_password; + CFeedEditor(int iItem, CCtrlListView *m_list, MCONTACT Contact); __inline MCONTACT getContact() const { return m_hContact; } @@ -131,4 +134,25 @@ public: CExportFeed(); }; +class CAuthRequest : public CDlgBase +{ +private: + typedef CDlgBase CSuper; + + CFeedEditor *m_pDlg; + MCONTACT m_hContact; + + CCtrlLabel m_feedname; + CCtrlEdit m_username; + CCtrlEdit m_password; + CCtrlButton m_ok; + +protected: + void OnInitDialog(); + void OnOk(CCtrlBase*); + +public: + CAuthRequest(CFeedEditor *pDlg, MCONTACT hContact); +}; + #endif //_OPTIONS_H_
\ No newline at end of file |