OSDN Git Service

Fix the issue where the Apache Tika plugin becomes enabled again when reopening the...
[winmerge-jp/winmerge-jp.git] / Src / ConfirmFolderCopyDlg.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /**
3  * @file  ConfirmFolderCopyDlg.h
4  *
5  * @brief Declaration file for ConfirmFolderCopyDlg dialog
6  */
7 #pragma once
8
9 #include "TrDialogs.h"
10 #include "CMoveConstraint.h"
11 #include "UnicodeString.h"
12
13 /**
14  * @brief Dialog for item copy confirmation.
15  */
16 class ConfirmFolderCopyDlg : public CTrDialog
17 {
18         DECLARE_DYNAMIC(ConfirmFolderCopyDlg)
19
20 public:
21         explicit ConfirmFolderCopyDlg(CWnd* pParent = nullptr);   // standard constructor
22         virtual ~ConfirmFolderCopyDlg();
23
24 // Dialog Data
25         enum { IDD = IDD_CONFIRM_COPY };
26
27 protected:
28         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
29         virtual BOOL OnInitDialog() override;
30
31         DECLARE_MESSAGE_MAP()
32 public:
33         
34         String m_question;
35         String m_fromText;
36         String m_fromPath;
37         String m_toText;
38         String m_toPath;
39         String m_caption;
40         afx_msg void OnBnClickedNo();
41         afx_msg void OnBnClickedYes();
42         afx_msg void OnBnClickedDontAskAgain();
43
44 private:
45         prdlg::CMoveConstraint m_constraint; //*< Resizes dialog controls when dialog resized */
46         bool m_dontAskAgain;
47 };