Added advanced taskbar grouping and highlighting in Win7
[TortoiseGit.git] / src / TortoiseProc / ExportDlg.h
blob860729865b9004bd95c48bd47d7f5345ea55a95b
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.
20 #pragma once
21 #include "afxwin.h"
22 #include "GitRev.h"
23 #include "HorizontalResizableStandAloneDialog.h"
24 #include "HistoryCombo.h"
25 #include "FileDropEdit.h"
26 #include "LogDlg.h"
27 #include "Tooltip.h"
28 #include "ChooseVersion.h"
30 /**
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)
39 public:
40 CExportDlg(CWnd* pParent = NULL); ///< standard constructor
41 virtual ~CExportDlg();
43 // Dialog Data
44 enum { IDD = IDD_EXPORT };
46 protected:
47 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
49 virtual BOOL OnInitDialog();
50 virtual BOOL PreTranslateMessage(MSG* pMsg);
51 virtual void OnOK();
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);
64 DECLARE_MESSAGE_MAP()
65 protected:
66 CToolTips m_tooltips;
67 CString m_sRevision;
68 CComboBox m_eolCombo;
69 CString m_sExportDirOrig;
70 bool m_bAutoCreateTargetName;
71 CComboBox m_depthCombo;
73 CHOOSE_EVENT_RADIO() ;
75 public:
76 CHistoryCombo m_URLCombo;
77 CString m_URL;
78 CString m_eolStyle;
79 CString m_Revision;
80 BOOL m_bNoExternals;
81 CButton m_butBrowse;
82 CEdit m_editRevision;
83 CString m_strExportDirectory;
84 CFileDropEdit m_cCheckoutEdit;
85 CLogDlg * m_pLogDlg;
86 //svn_depth_t m_depth;
87 afx_msg void OnDestroy();