forked from WinMerge/winmerge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConfirmFolderCopyDlg.h
47 lines (39 loc) · 1.03 KB
/
ConfirmFolderCopyDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: GPL-2.0-or-later
/**
* @file ConfirmFolderCopyDlg.h
*
* @brief Declaration file for ConfirmFolderCopyDlg dialog
*/
#pragma once
#include "TrDialogs.h"
#include "CMoveConstraint.h"
#include "UnicodeString.h"
/**
* @brief Dialog for item copy confirmation.
*/
class ConfirmFolderCopyDlg : public CTrDialog
{
DECLARE_DYNAMIC(ConfirmFolderCopyDlg)
public:
explicit ConfirmFolderCopyDlg(CWnd* pParent = nullptr); // standard constructor
virtual ~ConfirmFolderCopyDlg();
// Dialog Data
enum { IDD = IDD_CONFIRM_COPY };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog() override;
DECLARE_MESSAGE_MAP()
public:
String m_question;
String m_fromText;
String m_fromPath;
String m_toText;
String m_toPath;
String m_caption;
afx_msg void OnBnClickedNo();
afx_msg void OnBnClickedYes();
afx_msg void OnBnClickedDontAskAgain();
private:
prdlg::CMoveConstraint m_constraint; //*< Resizes dialog controls when dialog resized */
bool m_dontAskAgain;
};