1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2006, 2008 - Stefan Kueng
4 // Copyright (C) 2008-2011 - 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.
23 #include "HorizontalResizableStandAloneDialog.h"
24 #include "HistoryCombo.h"
25 #include "FileDropEdit.h"
28 #include "ChooseVersion.h"
31 * \ingroup TortoiseProc
32 * Prompts the user for required information for an export command. The information
33 * is the module name and the repository url.
35 class CExportDlg
: public CHorizontalResizableStandAloneDialog
, public CChooseVersion
37 DECLARE_DYNAMIC(CExportDlg
)
40 CExportDlg(CWnd
* pParent
= NULL
); ///< standard constructor
41 virtual ~CExportDlg();
44 enum { IDD
= IDD_EXPORT
};
47 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
49 virtual BOOL
OnInitDialog();
50 virtual BOOL
PreTranslateMessage(MSG
* pMsg
);
52 afx_msg
void OnBnClickedBrowse();
53 afx_msg
void OnBnClickedCheckoutdirectoryBrowse();
54 afx_msg
void OnEnChangeCheckoutdirectory();
55 afx_msg
void OnBnClickedHelp();
56 afx_msg
void OnBnClickedShowlog();
57 afx_msg LRESULT
OnRevSelected(WPARAM wParam
, LPARAM lParam
);
58 afx_msg
void OnEnChangeRevisionNum();
59 afx_msg
void OnCbnSelchangeEolcombo();
60 afx_msg
void OnCbnEditchangeUrlcombo();
62 void SetRevision(const CString
& rev
);
69 CString m_sExportDirOrig
;
70 bool m_bAutoCreateTargetName
;
71 CComboBox m_depthCombo
;
73 CHOOSE_EVENT_RADIO() ;
76 CHistoryCombo m_URLCombo
;
83 CString m_strExportDirectory
;
84 CFileDropEdit m_cCheckoutEdit
;
86 //svn_depth_t m_depth;
87 afx_msg
void OnDestroy();