OSDN Git Service

Update version number to 1.2.1.0
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / ExportDlg.h
1 // TortoiseSVN - a Windows shell extension for easy version control\r
2 \r
3 // Copyright (C) 2003-2006, 2008 - Stefan Kueng\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 #include "afxwin.h"\r
21 #include "GitRev.h"\r
22 #include "StandAloneDlg.h"\r
23 #include "HistoryCombo.h"\r
24 #include "FileDropEdit.h"\r
25 #include "LogDlg.h"\r
26 #include "Tooltip.h"\r
27 #include "ChooseVersion.h"\r
28 \r
29 /**\r
30  * \ingroup TortoiseProc\r
31  * Prompts the user for required information for an export command. The information\r
32  * is the module name and the repository url. \r
33  */\r
34 class CExportDlg : public CResizableStandAloneDialog, public CChooseVersion\r
35 {\r
36         DECLARE_DYNAMIC(CExportDlg)\r
37 \r
38 public:\r
39         CExportDlg(CWnd* pParent = NULL);   ///< standard constructor\r
40         virtual ~CExportDlg();\r
41 \r
42         // Dialog Data\r
43         enum { IDD = IDD_EXPORT };\r
44 \r
45 protected:\r
46         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
47 \r
48         virtual BOOL OnInitDialog();\r
49         virtual BOOL PreTranslateMessage(MSG* pMsg);\r
50         virtual void OnOK();\r
51         afx_msg void OnBnClickedBrowse();\r
52         afx_msg void OnBnClickedCheckoutdirectoryBrowse();\r
53         afx_msg void OnEnChangeCheckoutdirectory();\r
54         afx_msg void OnBnClickedHelp();\r
55         afx_msg void OnBnClickedShowlog();\r
56         afx_msg LRESULT OnRevSelected(WPARAM wParam, LPARAM lParam);\r
57         afx_msg void OnEnChangeRevisionNum();\r
58         afx_msg void OnCbnSelchangeEolcombo();\r
59         afx_msg void OnCbnEditchangeUrlcombo();\r
60 \r
61         void            SetRevision(const CString& rev);\r
62 \r
63         DECLARE_MESSAGE_MAP()\r
64 protected:\r
65         CToolTips               m_tooltips;\r
66         CString                 m_sRevision;\r
67         CComboBox               m_eolCombo;\r
68         CString                 m_sExportDirOrig;\r
69         bool                    m_bAutoCreateTargetName;\r
70         CComboBox               m_depthCombo;\r
71 \r
72         CHOOSE_EVENT_RADIO()    ;\r
73 \r
74 public:\r
75         CHistoryCombo   m_URLCombo;\r
76         CString                 m_URL;\r
77         CString                 m_eolStyle;\r
78         CString                 m_Revision;\r
79         BOOL                    m_bNoExternals;\r
80         CButton                 m_butBrowse;\r
81         CEdit                   m_editRevision;\r
82         CString                 m_strExportDirectory;\r
83         CFileDropEdit   m_cCheckoutEdit;\r
84         CLogDlg *               m_pLogDlg;\r
85         //svn_depth_t           m_depth;\r
86 };\r