Add bugtraq to support commit dialog bug track.
[TortoiseGit.git] / src / TortoiseProc / UpdateDlg.h
blobb09d73808ccaa4dd24b99d48f801fdf340b4c603
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2006 - Stefan Kueng
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 "SVNRev.h"
23 #include "LogDlg.h"
24 #include "afxwin.h"
27 /**
28 * \ingroup TortoiseProc
29 * A simple dialog box asking the user for a revision number
30 * to update to.
32 class CUpdateDlg : public CStandAloneDialog
34 DECLARE_DYNAMIC(CUpdateDlg)
36 public:
37 CUpdateDlg(CWnd* pParent = NULL); // standard constructor
38 virtual ~CUpdateDlg();
40 // Dialog Data
41 enum { IDD = IDD_UPDATE };
43 protected:
44 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
45 virtual BOOL OnInitDialog();
46 virtual void OnOK();
47 afx_msg void OnBnClickedShowLog();
48 afx_msg LRESULT OnRevSelected(WPARAM wParam, LPARAM lParam);
49 afx_msg void OnEnChangeRevnum();
51 DECLARE_MESSAGE_MAP()
53 CLogDlg * m_pLogDlg;
54 CString m_sRevision;
55 CComboBox m_depthCombo;
56 public:
57 SVNRev Revision;
58 CTSVNPath m_wcPath;
59 BOOL m_bNoExternals;
60 svn_depth_t m_depth;