OSDN Git Service

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