1 // TortoiseGit - a Windows shell extension for easy version control
\r
3 // Copyright (C) 2008-2009 - TortoiseGit
\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
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
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
20 // SyncDlg.cpp : implementation file
\r
24 #include "TortoiseProc.h"
\r
25 #include "SyncDlg.h"
\r
30 IMPLEMENT_DYNAMIC(CSyncDlg, CDialog)
\r
32 CSyncDlg::CSyncDlg(CWnd* pParent /*=NULL*/)
\r
33 : CDialog(CSyncDlg::IDD, pParent)
\r
34 , m_bAutoLoadPuttyKey(FALSE)
\r
39 CSyncDlg::~CSyncDlg()
\r
43 void CSyncDlg::DoDataExchange(CDataExchange* pDX)
\r
45 CDialog::DoDataExchange(pDX);
\r
46 DDX_Check(pDX, IDC_CHECK_PUTTY_KEY, m_bAutoLoadPuttyKey);
\r
47 DDX_Control(pDX, IDC_COMBOBOXEX_LOCAL_BRANCH, m_ctrlLocalBranch);
\r
48 DDX_Control(pDX, IDC_COMBOBOXEX_REMOTE_BRANCH, m_ctrlRemoteBranch);
\r
49 DDX_Control(pDX, IDC_COMBOBOXEX_URL, m_ctrlURL);
\r
50 DDX_Control(pDX, IDC_BUTTON_TABCTRL, m_ctrlDumyButton);
\r
51 DDX_Control(pDX, IDC_BUTTON_PULL, m_ctrlPull);
\r
52 DDX_Control(pDX, IDC_BUTTON_PUSH, m_ctrlPush);
\r
53 DDX_Control(pDX, IDC_STATIC_STATUS, m_ctrlStatus);
\r
54 DDX_Control(pDX, IDC_PROGRESS_SYNC, m_ctrlProgress);
\r
55 DDX_Control(pDX, IDC_ANIMATE_SYNC, m_ctrlAnimate);
\r
59 BEGIN_MESSAGE_MAP(CSyncDlg, CDialog)
\r
60 ON_BN_CLICKED(IDC_BUTTON_PULL, &CSyncDlg::OnBnClickedButtonPull)
\r
61 ON_BN_CLICKED(IDC_BUTTON_PUSH, &CSyncDlg::OnBnClickedButtonPush)
\r
62 ON_BN_CLICKED(IDC_BUTTON_APPLY, &CSyncDlg::OnBnClickedButtonApply)
\r
63 ON_BN_CLICKED(IDC_BUTTON_EMAIL, &CSyncDlg::OnBnClickedButtonEmail)
\r
67 // CSyncDlg message handlers
\r
69 void CSyncDlg::OnBnClickedButtonPull()
\r
71 // TODO: Add your control notification handler code here
\r
74 void CSyncDlg::OnBnClickedButtonPush()
\r
76 // TODO: Add your control notification handler code here
\r
79 void CSyncDlg::OnBnClickedButtonApply()
\r
81 // TODO: Add your control notification handler code here
\r
84 void CSyncDlg::OnBnClickedButtonEmail()
\r
86 // TODO: Add your control notification handler code here
\r