BrowseRefs: Context menu enhancements
[TortoiseGit.git] / src / TortoiseProc / BlameDlg.h
blobef251c57f77a64fe60e02138c92093237381bbee
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2008 - TortoiseSVN
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
20 #include "GitRev.h"
21 #include "Registry.h"
22 #include "StandAloneDlg.h"
24 /**
25 * \ingroup TortoiseProc
26 * Show the blame dialog where the user can select the revision to blame
27 * and whether to use TortoiseBlame or the default text editor to view the blame.
29 class CBlameDlg : public CStandAloneDialog
31 // DECLARE_DYNAMIC(CBlameDlg)
33 public:
34 CBlameDlg(CWnd* pParent = NULL); // standard constructor
35 virtual ~CBlameDlg();
37 // Dialog Data
38 enum { IDD = IDD_BLAME };
40 protected:
41 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
42 afx_msg void OnBnClickedHelp();
43 afx_msg void OnEnChangeRevisionEnd();
44 virtual BOOL OnInitDialog();
45 virtual void OnOK();
47 DECLARE_MESSAGE_MAP()
49 protected:
50 CString m_sStartRev;
51 CString m_sEndRev;
52 CRegDWORD m_regTextView;
54 public:
55 CString StartRev;
56 CString EndRev;
57 BOOL m_bTextView;
58 BOOL m_bIgnoreEOL;
59 BOOL m_bIncludeMerge;
60 int m_IgnoreSpaces;