1 // TortoiseSVN - a Windows shell extension for easy version control
\r
3 // Copyright (C) 2003-2006,2008 - Stefan Kueng
\r
5 // This program is free software; you can redistribute it and/or
\r
6 // modify it under the terms of the GNU General Public License
\r
7 // as published by the Free Software Foundation; either version 2
\r
8 // of the License, or (at your option) any later version.
\r
10 // This program is distributed in the hope that it will be useful,
\r
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
13 // GNU General Public License for more details.
\r
15 // You should have received a copy of the GNU General Public License
\r
16 // along with this program; if not, write to the Free Software Foundation,
\r
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
\r
21 #include "StandAloneDlg.h"
\r
23 #include "Registry.h"
\r
24 #include "Tooltip.h"
\r
26 #include "GitStatusListCtrl.h"
\r
29 * \ingroup TortoiseProc
\r
30 * Shows the "check for modifications" dialog.
\r
32 class CChangedDlg : public CResizableStandAloneDialog
\r
34 DECLARE_DYNAMIC(CChangedDlg)
\r
37 CChangedDlg(CWnd* pParent = NULL); // standard constructor
\r
38 virtual ~CChangedDlg();
\r
41 enum { IDD = IDD_CHANGEDFILES };
\r
44 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
45 virtual BOOL OnInitDialog();
\r
46 virtual void OnOK();
\r
47 virtual void OnCancel();
\r
48 virtual BOOL PreTranslateMessage(MSG* pMsg);
\r
49 afx_msg void OnBnClickedCheckrepo();
\r
50 afx_msg void OnBnClickedRefresh();
\r
51 afx_msg void OnBnClickedShowunversioned();
\r
52 afx_msg void OnBnClickedShowUnmodified();
\r
53 afx_msg void OnBnClickedShowignored();
\r
54 afx_msg void OnBnClickedShowexternals();
\r
55 afx_msg void OnBnClickedShowUserProps();
\r
56 afx_msg LRESULT OnSVNStatusListCtrlNeedsRefresh(WPARAM, LPARAM);
\r
57 afx_msg LRESULT OnSVNStatusListCtrlItemCountChanged(WPARAM, LPARAM);
\r
59 DECLARE_MESSAGE_MAP()
\r
62 static UINT ChangedStatusThreadEntry(LPVOID pVoid);
\r
63 UINT ChangedStatusThread();
\r
64 void UpdateStatistics();
\r
65 DWORD UpdateShowFlags();
\r
68 CTGitPathList m_pathList;
\r
71 CRegDWORD m_regAddBeforeCommit;
\r
72 CGitStatusListCtrl m_FileListCtrl;
\r
74 BOOL m_bShowUnversioned;
\r
75 int m_iShowUnmodified;
\r
76 volatile LONG m_bBlock;
\r
79 BOOL m_bShowIgnored;
\r
80 BOOL m_bShowExternals;
\r
81 BOOL m_bShowUserProps;
\r
82 CToolTips m_tooltips;
\r