OSDN Git Service

merge original branch.
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / MergeDlg.h
1 // TortoiseGit - a Windows shell extension for easy version control\r
2 \r
3 // Copyright (C) 2007-2009 - TortoiseGit\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 \r
20 \r
21 #pragma once\r
22 \r
23 #include "StandAloneDlg.h"\r
24 #include "HistoryCombo.h"\r
25 #include "ChooseVersion.h"\r
26 #include "SciEdit.h"\r
27 // CMergeDlg dialog\r
28 \r
29 class CMergeDlg : public CResizableStandAloneDialog,public CChooseVersion , public CSciEditContextMenuInterface\r
30 {\r
31         DECLARE_DYNAMIC(CMergeDlg)\r
32 \r
33 public:\r
34         CMergeDlg(CWnd* pParent = NULL);   // standard constructor\r
35         virtual ~CMergeDlg();\r
36 \r
37 // Dialog Data\r
38         enum { IDD = IDD_MERGE };\r
39 \r
40         BOOL m_bSquash;\r
41         BOOL m_bNoFF;\r
42         BOOL m_bNoCommit;\r
43         //CString m_Base;\r
44 \r
45 \r
46 protected:\r
47         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
48         virtual BOOL OnInitDialog();\r
49         \r
50         CSciEdit                        m_cLogMessage;\r
51         ProjectProperties       m_ProjectProperties;\r
52 \r
53         TCHAR                           * m_pDefaultText;\r
54         DECLARE_MESSAGE_MAP()\r
55         CHOOSE_EVENT_RADIO() ;\r
56 public:\r
57 \r
58         CString m_strLogMesage;\r
59 \r
60         afx_msg void OnBnClickedOk();\r
61 };\r