Prepare release and bump version numbers to 2.2.0.0
[TortoiseGit.git] / src / TortoiseProc / CreateBranchTagDlg.h
blob9524cf537ee83646b3fa80c789dde0ff44e9a856
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2013, 2015-2016 - TortoiseGit
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
21 #include "StandAloneDlg.h"
22 #include "ChooseVersion.h"
24 // CCreateBranchTagDlg dialog
26 class CCreateBranchTagDlg : public CResizableStandAloneDialog,public CChooseVersion
28 DECLARE_DYNAMIC(CCreateBranchTagDlg)
30 public:
31 CCreateBranchTagDlg(CWnd* pParent = nullptr); // standard constructor
32 virtual ~CCreateBranchTagDlg();
34 // Dialog Data
35 enum { IDD = IDD_NEW_BRANCH_TAG };
37 BOOL m_bForce;
38 BOOL m_bTrack;
39 BOOL m_bIsTag;
40 BOOL m_bSwitch;
41 BOOL m_bSign;
43 CString m_BranchTagName;
44 CString m_Message;
45 CString m_OldSelectBranch;
47 protected:
48 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
49 virtual BOOL OnInitDialog();
51 CHOOSE_EVENT_RADIO();
53 DECLARE_MESSAGE_MAP()
55 afx_msg void OnBnClickedRadio();
56 afx_msg void OnBnClickedOk();
57 afx_msg void OnCbnSelchangeComboboxexBranch();
58 afx_msg void OnEnChangeBranchTag();
60 virtual void OnVersionChanged();
61 afx_msg void OnDestroy();