--- /dev/null
+// TortoiseSVN - a Windows shell extension for easy version control\r
+\r
+// Copyright (C) 2003-2008 - TortoiseSVN\r
+\r
+// This program is free software; you can redistribute it and/or\r
+// modify it under the terms of the GNU General Public License\r
+// as published by the Free Software Foundation; either version 2\r
+// of the License, or (at your option) any later version.\r
+\r
+// This program is distributed in the hope that it will be useful,\r
+// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+// GNU General Public License for more details.\r
+\r
+// You should have received a copy of the GNU General Public License\r
+// along with this program; if not, write to the Free Software Foundation,\r
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
+//\r
+#pragma once\r
+#include "SVNRev.h"\r
+#include "StandAloneDlg.h"\r
+#include "HistoryCombo.h"\r
+#include "FileDropEdit.h"\r
+#include "LogDlg.h"\r
+#include "afxwin.h"\r
+#include "Tooltip.h"\r
+\r
+/**\r
+ * \ingroup TortoiseProc\r
+ * Prompts the user for required information for a checkout command. The information\r
+ * is the module name and the repository url.\r
+ */\r
+class CCheckoutDlg : public CResizableStandAloneDialog //CResizableStandAloneDialog\r
+{\r
+ DECLARE_DYNAMIC(CCheckoutDlg)\r
+\r
+public:\r
+ CCheckoutDlg(CWnd* pParent = NULL); ///< standard constructor\r
+ virtual ~CCheckoutDlg();\r
+\r
+// Dialog Data\r
+ enum { IDD = IDD_CHECKOUT };\r
+\r
+protected:\r
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support\r
+\r
+ virtual BOOL OnInitDialog();\r
+ virtual BOOL PreTranslateMessage(MSG* pMsg);\r
+ virtual void OnOK();\r
+ afx_msg void OnBnClickedBrowse();\r
+ afx_msg void OnBnClickedCheckoutdirectoryBrowse();\r
+ afx_msg void OnEnChangeCheckoutdirectory();\r
+ afx_msg void OnBnClickedHelp();\r
+ afx_msg void OnBnClickedShowlog();\r
+ afx_msg LRESULT OnRevSelected(WPARAM wParam, LPARAM lParam);\r
+ afx_msg void OnEnChangeRevisionNum();\r
+ afx_msg void OnCbnEditchangeUrlcombo();\r
+\r
+ DECLARE_MESSAGE_MAP()\r
+\r
+ void SetRevision(const SVNRev& rev);\r
+protected:\r
+ CToolTips m_tooltips;\r
+ CString m_sRevision;\r
+ CString m_sCheckoutDirOrig;\r
+ bool m_bAutoCreateTargetName;\r
+ CComboBox m_depthCombo;\r
+public:\r
+ CHistoryCombo m_URLCombo;\r
+ CString m_URL;\r
+ SVNRev Revision;\r
+ BOOL m_bNoExternals;\r
+ CButton m_butBrowse;\r
+ CEdit m_editRevision;\r
+ CString m_strCheckoutDirectory;\r
+ CFileDropEdit m_cCheckoutEdit;\r
+ CLogDlg * m_pLogDlg;\r
+ svn_depth_t m_depth;\r
+};\r