1 // TortoiseSVN - a Windows shell extension for easy version control
\r
3 // Copyright (C) 2007 - TortoiseSVN
\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
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
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
20 #include "MergeWizardBasePage.h"
\r
21 #include "HistoryCombo.h"
\r
25 * Page in the merge wizard for selecting two urls and revisions for
\r
28 class CMergeWizardTree : public CMergeWizardBasePage
\r
30 DECLARE_DYNAMIC(CMergeWizardTree)
\r
34 virtual ~CMergeWizardTree();
\r
36 enum { IDD = IDD_MERGEWIZARD_TREE };
\r
39 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
40 virtual BOOL OnInitDialog();
\r
41 virtual LRESULT OnWizardNext();
\r
42 virtual LRESULT OnWizardBack();
\r
43 virtual BOOL OnSetActive();
\r
44 afx_msg void OnBnClickedBrowse();
\r
45 afx_msg void OnBnClickedFindbranchstart();
\r
46 afx_msg void OnBnClickedFindbranchend();
\r
47 afx_msg void OnBnClickedShowlogwc();
\r
48 afx_msg void OnBnClickedBrowse2();
\r
49 afx_msg void OnEnChangeRevisionEnd();
\r
50 afx_msg void OnEnChangeRevisionStart();
\r
51 afx_msg LRESULT OnRevSelected(WPARAM wParam, LPARAM lParam);
\r
53 BOOL CheckData(bool bShowErrors = true);
\r
54 void SetStartRevision(const SVNRev& rev);
\r
55 void SetEndRevision(const SVNRev& rev);
\r
57 DECLARE_MESSAGE_MAP()
\r
59 CLogDlg * m_pLogDlg;
\r
60 CLogDlg * m_pLogDlg2;
\r
61 CLogDlg * m_pLogDlg3;
\r
62 CHistoryCombo m_URLCombo;
\r
63 CHistoryCombo m_URLCombo2;
\r
64 CString m_sStartRev;
\r