BrowseRefs: Context menu enhancements
[TortoiseGit.git] / src / TortoiseProc / MergeWizard.h
blob6c7433c4147668079355d981f39c153ab1829a1e
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2007-2008 - 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 "TSVNPath.h"
22 #include "MergeWizardStart.h"
23 #include "MergeWizardTree.h"
24 #include "MergeWizardRevRange.h"
25 #include "MergeWizardOptions.h"
26 #include "MergeWizardReintegrate.h"
28 #define MERGEWIZARD_REVRANGE 0
29 #define MERGEWIZARD_TREE 1
30 #define MERGEWIZARD_REINTEGRATE 2
32 class CMergeWizard : public CPropertySheet
34 DECLARE_DYNAMIC(CMergeWizard)
36 public:
37 CMergeWizard(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
38 virtual ~CMergeWizard();
40 protected:
41 DECLARE_MESSAGE_MAP()
42 virtual BOOL OnInitDialog();
44 afx_msg void OnPaint();
45 afx_msg HCURSOR OnQueryDragIcon();
47 CMergeWizardStart page1;
48 CMergeWizardTree tree;
49 CMergeWizardRevRange revrange;
50 CMergeWizardOptions options;
51 CMergeWizardReintegrate reintegrate;
53 public:
54 CTSVNPath wcPath;
55 CString url;
56 CString sUUID;
57 int nRevRangeMerge;
59 CString URL1;
60 CString URL2;
61 SVNRev startRev;
62 SVNRev endRev;
63 SVNRevRangeArray revRangeArray;
64 BOOL bReverseMerge;
66 BOOL m_bRecordOnly;
68 BOOL m_bIgnoreAncestry;
69 svn_depth_t m_depth;
70 BOOL m_bIgnoreEOL;
71 svn_diff_file_ignore_space_t m_IgnoreSpaces;
73 void SaveMode();
74 LRESULT GetSecondPage();
76 private:
77 bool m_FirstPageActivation;
78 HICON m_hIcon;