OSDN Git Service

Add Miss Rebase File
authorFrank Li <lznuaa@gmail.com>
Wed, 11 Feb 2009 14:21:45 +0000 (22:21 +0800)
committerFrank Li <lznuaa@gmail.com>
Wed, 11 Feb 2009 14:21:45 +0000 (22:21 +0800)
src/TortoiseProc/RebaseDlg.cpp [new file with mode: 0644]
src/TortoiseProc/RebaseDlg.h [new file with mode: 0644]

diff --git a/src/TortoiseProc/RebaseDlg.cpp b/src/TortoiseProc/RebaseDlg.cpp
new file mode 100644 (file)
index 0000000..6c51582
--- /dev/null
@@ -0,0 +1,68 @@
+// RebaseDlg.cpp : implementation file\r
+//\r
+\r
+#include "stdafx.h"\r
+#include "TortoiseProc.h"\r
+#include "RebaseDlg.h"\r
+\r
+\r
+// CRebaseDlg dialog\r
+\r
+IMPLEMENT_DYNAMIC(CRebaseDlg, CDialog)\r
+\r
+CRebaseDlg::CRebaseDlg(CWnd* pParent /*=NULL*/)\r
+       : CDialog(CRebaseDlg::IDD, pParent)\r
+    , m_bPickupAll(false)\r
+    , m_bSquashALL(false)\r
+    , m_bEditAll(false)\r
+    , m_bPickAll(FALSE)\r
+    , m_bSquashAll(FALSE)\r
+    , m_bEditAll(FALSE)\r
+{\r
+\r
+}\r
+\r
+CRebaseDlg::~CRebaseDlg()\r
+{\r
+}\r
+\r
+void CRebaseDlg::DoDataExchange(CDataExchange* pDX)\r
+{\r
+    CDialog::DoDataExchange(pDX);\r
+    DDX_Control(pDX, IDC_REBASE_PROGRESS, m_ProgressBar);\r
+    DDX_Control(pDX, IDC_STATUS_STATIC, m_CtrlStatusText);\r
+    DDX_Check(pDX, IDC_PICK_ALL, m_bPickAll);\r
+    DDX_Check(pDX, IDC_SQUASH_ALL, m_bSquashAll);\r
+    DDX_Check(pDX, IDC_EDIT_ALL, m_bEditAll);\r
+}\r
+\r
+\r
+BEGIN_MESSAGE_MAP(CRebaseDlg, CDialog)\r
+    ON_BN_CLICKED(IDC_PICK_ALL, &CRebaseDlg::OnBnClickedPickAll)\r
+    ON_BN_CLICKED(IDC_SQUASH_ALL, &CRebaseDlg::OnBnClickedSquashAll)\r
+    ON_BN_CLICKED(IDC_EDIT_ALL, &CRebaseDlg::OnBnClickedEditAll)\r
+    ON_BN_CLICKED(IDC_REBASE_SPLIT, &CRebaseDlg::OnBnClickedRebaseSplit)\r
+END_MESSAGE_MAP()\r
+\r
+\r
+// CRebaseDlg message handlers\r
+\r
+void CRebaseDlg::OnBnClickedPickAll()\r
+{\r
+    // TODO: Add your control notification handler code here\r
+}\r
+\r
+void CRebaseDlg::OnBnClickedSquashAll()\r
+{\r
+    // TODO: Add your control notification handler code here\r
+}\r
+\r
+void CRebaseDlg::OnBnClickedEditAll()\r
+{\r
+    // TODO: Add your control notification handler code here\r
+}\r
+\r
+void CRebaseDlg::OnBnClickedRebaseSplit()\r
+{\r
+    // TODO: Add your control notification handler code here\r
+}\r
diff --git a/src/TortoiseProc/RebaseDlg.h b/src/TortoiseProc/RebaseDlg.h
new file mode 100644 (file)
index 0000000..bff6e04
--- /dev/null
@@ -0,0 +1,36 @@
+#pragma once\r
+#include "afxcmn.h"\r
+#include "afxwin.h"\r
+\r
+\r
+// CRebaseDlg dialog\r
+\r
+class CRebaseDlg : public CDialog\r
+{\r
+       DECLARE_DYNAMIC(CRebaseDlg)\r
+\r
+public:\r
+       CRebaseDlg(CWnd* pParent = NULL);   // standard constructor\r
+       virtual ~CRebaseDlg();\r
+\r
+// Dialog Data\r
+       enum { IDD = IDD_REBASE };\r
+\r
+protected:\r
+       virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
+\r
+       DECLARE_MESSAGE_MAP()\r
+public:\r
+    bool m_bPickupAll;\r
+    bool m_bSquashALL;\r
+    \r
+    afx_msg void OnBnClickedPickAll();\r
+    afx_msg void OnBnClickedSquashAll();\r
+    afx_msg void OnBnClickedEditAll();\r
+    afx_msg void OnBnClickedRebaseSplit();\r
+    CProgressCtrl m_ProgressBar;\r
+    CStatic m_CtrlStatusText;\r
+    BOOL m_bPickAll;\r
+    BOOL m_bSquashAll;\r
+    BOOL m_bEditAll;\r
+};\r