OSDN Git Service

Enable Sync Dialog Resize
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / SyncDlg.h
1 // TortoiseGit - a Windows shell extension for easy version control\r
2 \r
3 // Copyright (C) 2008-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 #pragma once\r
21 #include "afxcmn.h"\r
22 #include "afxwin.h"\r
23 \r
24 #include "StandAloneDlg.h"\r
25 #include "HistoryCombo.h"\r
26 \r
27 // CSyncDlg dialog\r
28 \r
29 class CSyncDlg : public CResizableStandAloneDialog\r
30 {\r
31         DECLARE_DYNAMIC(CSyncDlg)\r
32 \r
33 public:\r
34         CSyncDlg(CWnd* pParent = NULL);   // standard constructor\r
35         virtual ~CSyncDlg();\r
36 \r
37 // Dialog Data\r
38         enum { IDD = IDD_SYNC };\r
39 \r
40 protected:\r
41         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
42 \r
43         DECLARE_MESSAGE_MAP()\r
44 public:\r
45         BOOL m_bAutoLoadPuttyKey;\r
46         CComboBoxEx m_ctrlLocalBranch;\r
47         CComboBoxEx m_ctrlRemoteBranch;\r
48         CComboBoxEx m_ctrlURL;\r
49         CButton m_ctrlDumyButton;\r
50         CButton m_ctrlPull;\r
51         CButton m_ctrlPush;\r
52         CStatic m_ctrlStatus;\r
53         afx_msg void OnBnClickedButtonPull();\r
54         afx_msg void OnBnClickedButtonPush();\r
55         afx_msg void OnBnClickedButtonApply();\r
56         afx_msg void OnBnClickedButtonEmail();\r
57         CProgressCtrl m_ctrlProgress;\r
58         CAnimateCtrl m_ctrlAnimate;\r
59         virtual BOOL OnInitDialog();\r
60 };\r