BrowseRefs: Context menu enhancements
[TortoiseGit.git] / src / TortoiseProc / MergeWizardTree.h
blobabfa4b210e06b9597eaa06c8067f41bb3b3d0031
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2007 - TortoiseSVN
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
20 #include "MergeWizardBasePage.h"
21 #include "HistoryCombo.h"
22 #include "LogDlg.h"
24 /**
25 * Page in the merge wizard for selecting two urls and revisions for
26 * a tree merge.
28 class CMergeWizardTree : public CMergeWizardBasePage
30 DECLARE_DYNAMIC(CMergeWizardTree)
32 public:
33 CMergeWizardTree();
34 virtual ~CMergeWizardTree();
36 enum { IDD = IDD_MERGEWIZARD_TREE };
38 protected:
39 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
40 virtual BOOL OnInitDialog();
41 virtual LRESULT OnWizardNext();
42 virtual LRESULT OnWizardBack();
43 virtual BOOL OnSetActive();
44 afx_msg void OnBnClickedBrowse();
45 afx_msg void OnBnClickedFindbranchstart();
46 afx_msg void OnBnClickedFindbranchend();
47 afx_msg void OnBnClickedShowlogwc();
48 afx_msg void OnBnClickedBrowse2();
49 afx_msg void OnEnChangeRevisionEnd();
50 afx_msg void OnEnChangeRevisionStart();
51 afx_msg LRESULT OnRevSelected(WPARAM wParam, LPARAM lParam);
53 BOOL CheckData(bool bShowErrors = true);
54 void SetStartRevision(const SVNRev& rev);
55 void SetEndRevision(const SVNRev& rev);
57 DECLARE_MESSAGE_MAP()
59 CLogDlg * m_pLogDlg;
60 CLogDlg * m_pLogDlg2;
61 CLogDlg * m_pLogDlg3;
62 CHistoryCombo m_URLCombo;
63 CHistoryCombo m_URLCombo2;
64 CString m_sStartRev;
65 CString m_sEndRev;
66 public:
67 CString m_URLFrom;
68 CString m_URLTo;
69 SVNRev StartRev;
70 SVNRev EndRev;