Use new constants everywhere
[TortoiseGit.git] / src / TortoiseProc / Settings / SettingsBugtraqConfig.h
blobfe06b72aac8936843612efa78c8ebdeddd454fc9
1 #pragma once
3 #include "SettingsPropPage.h"
4 #include "RegexEdit.h"
5 // CSettingsBugtraqConfig dialog
7 class CSettingsBugtraqConfig : public ISettingsPropPage
9 DECLARE_DYNAMIC(CSettingsBugtraqConfig)
11 public:
12 CSettingsBugtraqConfig(CString cmdPath);
13 virtual ~CSettingsBugtraqConfig();
15 // Dialog Data
16 enum { IDD = IDD_SETTINGSBUGTRAQ_CONFIG };
17 UINT GetIconID() {return IDI_BUGTRAQ;}
19 protected:
20 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
22 virtual BOOL OnInitDialog();
23 virtual BOOL OnApply();
25 int m_ChangeMask;
27 enum
29 BUG_URL=0x1,
30 BUG_MESSAGE=0x2,
31 BUG_APPEND=0x4,
32 BUG_LABEL=0x8,
33 BUG_NUMBER=0x10,
34 BUG_LOGREGEX=0x20,
35 BUG_WARNING=0x40,
38 DECLARE_MESSAGE_MAP()
40 afx_msg void OnEnChangeBugtraqUrl();
41 afx_msg void OnBnClickedBugtraqWarningifnoissueTrue();
42 afx_msg void OnBnClickedBugtraqWarningifnoissueFalse();
43 afx_msg void OnEnChangeBugtraqMessage();
44 afx_msg void OnBnClickedBugtraqAppendTrue();
45 afx_msg void OnBnClickedBugtraqAppendFalse();
46 afx_msg void OnEnChangeBugtraqLabel();
47 afx_msg void OnBnClickedBugtraqNumberTrue();
48 afx_msg void OnBnClickedBugtraqNumberFalse();
49 afx_msg void OnEnChangeBugtraqLogregex();
51 CRegexEdit m_BugtraqRegex1;
53 CString m_URL;
54 BOOL m_bNWarningifnoissue;
55 CString m_Message;
56 BOOL m_bNAppend;
57 CString m_Label;
58 BOOL m_bNNumber;
59 CString m_Logregex;