Fixed issue #4126: Capitalize the first letter in the Push dialog
[TortoiseGit.git] / src / TortoiseProc / ExportDlg.h
blob44f8719287e6f32a856a8b91d2e1bb41ce07c21a
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2006, 2008 - Stefan Kueng
4 // Copyright (C) 2008-2011, 2013, 2015-2016, 2023 - TortoiseGit
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #pragma once
21 #include "HorizontalResizableStandAloneDialog.h"
22 #include "ChooseVersion.h"
24 /**
25 * \ingroup TortoiseProc
26 * Prompts the user for required information for an export command. The information
27 * is the module name and the repository url.
29 class CExportDlg : public CHorizontalResizableStandAloneDialog, public CChooseVersion
31 DECLARE_DYNAMIC(CExportDlg)
33 public:
34 CExportDlg(CWnd* pParent = nullptr); ///< standard constructor
35 virtual ~CExportDlg();
37 // Dialog Data
38 enum { IDD = IDD_EXPORT };
40 protected:
41 void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support
43 BOOL OnInitDialog() override;
44 void OnOK() override;
45 afx_msg void OnDestroy();
46 afx_msg void OnBnClickedCheckoutdirectoryBrowse();
47 afx_msg void OnEnChangeCheckoutdirectory();
48 afx_msg void OnBnClickedWholeProject();
49 afx_msg void OnBnClickedShowlog();
50 void SetDlgTitle();
52 DECLARE_MESSAGE_MAP()
53 protected:
54 CString m_sTitle;
56 CHOOSE_EVENT_RADIO() ;
58 public:
59 CTGitPath m_orgPath;
60 BOOL m_bWholeProject;
61 CString m_Revision;
62 CButton m_butBrowse;
63 CString m_strFile;