Index: src/ch/FeedbackNotEnoughSpaceDlg.h =================================================================== diff -u -N -r0d5b67ee96b435d63f7bf075dc8e28603793b187 -r08717141ce5f6926116c298cbc9442094a45bb67 --- src/ch/FeedbackNotEnoughSpaceDlg.h (.../FeedbackNotEnoughSpaceDlg.h) (revision 0d5b67ee96b435d63f7bf075dc8e28603793b187) +++ src/ch/FeedbackNotEnoughSpaceDlg.h (.../FeedbackNotEnoughSpaceDlg.h) (revision 08717141ce5f6926116c298cbc9442094a45bb67) @@ -20,45 +20,45 @@ #define __FEEDBACKNOTENOUGHSPACEDLG_H__ #include "../libchengine/TLocalFilesystem.h" +#include "../libchengine/FeedbackNotEnoughSpaceRuleList.h" ///////////////////////////////////////////////////////////////////////////// // CFeedbackNotEnoughSpaceDlg dialog class CFeedbackNotEnoughSpaceDlg : public ictranslate::CLanguageDialog { -// Construction public: CFeedbackNotEnoughSpaceDlg(unsigned long long ullSizeRequired, const wchar_t* pszSrcPath, const wchar_t* pszDstPath); // standard constructor -// Overrides -protected: - void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support + bool IsApplyToAllItemsChecked() const; -// Implementation -public: - CString m_strDisk; - unsigned long long m_ullRequired; - std::vector m_vstrFiles; - CListBox m_ctlFiles; + const chengine::FeedbackNotEnoughSpaceRuleList& GetRules() const; protected: + void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support void UpdateDialog(); void OnLanguageChanged() override; void OnCancel() override; BOOL OnInitDialog() override; + afx_msg void OnTimer(UINT_PTR nIDEvent); afx_msg void OnRetryButton(); afx_msg void OnIgnoreButton(); afx_msg void OnBnClickedCancel(); DECLARE_MESSAGE_MAP() -public: - BOOL m_bAllItems; - private: + BOOL m_bAllItems = FALSE; + CString m_strDisk; + unsigned long long m_ullRequired = 0; + std::vector m_vstrFiles; + + CListBox m_ctlFiles; + chengine::TLocalFilesystem m_fsLocal; + chengine::FeedbackNotEnoughSpaceRuleList m_feedbackRules; // feedback rules resulting from choices made in this dialog box }; #endif