OSDN Git Service

Git Blame Can Show Log
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / MergeWizardTree.h
1 // TortoiseSVN - a Windows shell extension for easy version control\r
2 \r
3 // Copyright (C) 2007 - TortoiseSVN\r
4 \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
9 \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
14 \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
18 //\r
19 #pragma once\r
20 #include "MergeWizardBasePage.h"\r
21 #include "HistoryCombo.h"\r
22 #include "LogDlg.h"\r
23 \r
24 /**\r
25  * Page in the merge wizard for selecting two urls and revisions for\r
26  * a tree merge.\r
27  */\r
28 class CMergeWizardTree : public CMergeWizardBasePage\r
29 {\r
30         DECLARE_DYNAMIC(CMergeWizardTree)\r
31 \r
32 public:\r
33         CMergeWizardTree();\r
34         virtual ~CMergeWizardTree();\r
35 \r
36         enum { IDD = IDD_MERGEWIZARD_TREE };\r
37 \r
38 protected:\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
52 \r
53         BOOL                            CheckData(bool bShowErrors = true);\r
54         void                            SetStartRevision(const SVNRev& rev);\r
55         void                            SetEndRevision(const SVNRev& rev);\r
56 \r
57         DECLARE_MESSAGE_MAP()\r
58 \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
65         CString                         m_sEndRev;\r
66 public:\r
67         CString                         m_URLFrom;\r
68         CString                         m_URLTo;\r
69         SVNRev                          StartRev;\r
70         SVNRev                          EndRev;\r
71 };\r