Merge branch 'restructure-tree'
[TortoiseGit.git] / src / TortoiseProc / ImportDlg.h
blob2d837047f9c7d9e10300d9446c94b3a12caf347a
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2008 - TortoiseSVN
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
21 #include "StandAloneDlg.h"
22 #include "SciEdit.h"
23 #include "ProjectProperties.h"
24 #include "HistoryCombo.h"
25 #include "RegHistory.h"
26 #include "TSVNPath.h"
27 #include "Tooltip.h"
29 /**
30 * \ingroup TortoiseProc
31 * Dialog used to prompt the user for required information to do an import.
32 * The required information is the URL to import to.
34 class CImportDlg : public CResizableStandAloneDialog
36 DECLARE_DYNAMIC(CImportDlg)
38 public:
39 CImportDlg(CWnd* pParent = NULL); // standard constructor
40 virtual ~CImportDlg();
42 // Dialog Data
43 enum { IDD = IDD_IMPORT };
45 protected:
46 CFont m_logFont;
47 CToolTips m_tooltips;
48 CButton m_butBrowse;
49 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
50 virtual BOOL PreTranslateMessage(MSG* pMsg);
51 virtual void OnOK();
52 virtual void OnCancel();
53 virtual BOOL OnInitDialog();
54 afx_msg void OnBnClickedBrowse();
55 afx_msg void OnBnClickedSelectall();
56 afx_msg void OnBnClickedHelp();
57 afx_msg void OnEnChangeLogmessage();
58 afx_msg void OnBnClickedHistory();
59 DECLARE_MESSAGE_MAP()
60 public:
61 CTSVNPath m_path;
62 CString m_url;
63 BOOL m_bIncludeIgnored;
64 CString m_sMessage;
65 private:
66 CSciEdit m_cMessage;
67 CHistoryCombo m_URLCombo;
68 ProjectProperties m_ProjectProperties;
69 CRegHistory m_History;