Update diff del rename ignore document.
[TortoiseGit.git] / src / TortoiseProc / PropDlg.h
blobdd4a572a1dcad7f01ee45185e0d7a5beed202b67
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2007 - 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
21 #include "StandAloneDlg.h"
22 #include "GitRev.h"
24 /**
25 * \ingroup TortoiseProc
26 * Helper dialog which shows revision properties.
28 class CPropDlg : public CResizableStandAloneDialog
30 DECLARE_DYNAMIC(CPropDlg)
32 public:
33 CPropDlg(CWnd* pParent = NULL);
34 virtual ~CPropDlg();
36 enum { IDD = IDD_PROPERTIES };
37 private:
38 static UINT PropThreadEntry(LPVOID pVoid);
39 UINT PropThread();
41 protected:
42 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
43 virtual BOOL OnInitDialog();
44 virtual void OnCancel();
45 virtual void OnOK();
47 afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
49 DECLARE_MESSAGE_MAP()
51 public:
52 CTGitPath m_Path;
53 GitRev m_rev;
54 private:
55 HANDLE m_hThread;
56 CListCtrl m_proplist;