Merge branch 'tag-sign'
[TortoiseGit.git] / src / TortoiseProc / CreateBranchTagDlg.h
blobde5545190368d977a76094fa656111cadf9c6d0b
1 #pragma once
3 #include "StandAloneDlg.h"
4 #include "HistoryCombo.h"
5 #include "ChooseVersion.h"
7 // CCreateBranchTagDlg dialog
9 class CCreateBranchTagDlg : public CResizableStandAloneDialog,public CChooseVersion
11 DECLARE_DYNAMIC(CCreateBranchTagDlg)
13 public:
14 CCreateBranchTagDlg(CWnd* pParent = NULL); // standard constructor
15 virtual ~CCreateBranchTagDlg();
17 // Dialog Data
18 enum { IDD = IDD_NEW_BRANCH_TAG };
20 BOOL m_bForce;
21 BOOL m_bTrack;
22 BOOL m_bIsTag;
23 BOOL m_bSwitch;
24 BOOL m_bSign;
26 CString m_Base;
27 CString m_BranchTagName;
28 CString m_Message;
29 CString m_OldSelectBranch;
31 protected:
32 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
33 virtual BOOL OnInitDialog();
34 virtual BOOL PreTranslateMessage(MSG* pMsg);
35 CToolTipCtrl m_ToolTip;
37 CHOOSE_EVENT_RADIO();
39 DECLARE_MESSAGE_MAP()
41 afx_msg void OnBnClickedRadio();
42 afx_msg void OnBnClickedOk();
43 afx_msg void OnCbnSelchangeComboboxexBranch();
45 virtual void OnVersionChanged();
46 afx_msg void OnDestroy();