Update version number to 1.5.7.0
[TortoiseGit.git] / src / TortoiseProc / DeleteUnversionedDlg.h
blobacedd2d39aa2fb3549ee139df3e98e85221289b8
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 "SVNStatusListCtrl.h"
25 /**
26 * \ingroup TortoiseProc
27 * Dialog showing a list of unversioned and ignored files.
29 class CDeleteUnversionedDlg : public CResizableStandAloneDialog
31 DECLARE_DYNAMIC(CDeleteUnversionedDlg)
33 public:
34 CDeleteUnversionedDlg(CWnd* pParent = NULL); // standard constructor
35 virtual ~CDeleteUnversionedDlg();
37 enum { IDD = IDD_DELUNVERSIONED };
39 protected:
40 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
41 virtual BOOL OnInitDialog();
42 virtual void OnOK();
43 virtual void OnCancel();
44 virtual BOOL PreTranslateMessage(MSG* pMsg);
45 afx_msg void OnBnClickedHelp();
46 afx_msg void OnBnClickedSelectall();
47 afx_msg LRESULT OnSVNStatusListCtrlNeedsRefresh(WPARAM, LPARAM);
49 DECLARE_MESSAGE_MAP()
51 void StartDiff(int fileindex);
53 private:
54 static UINT StatusThreadEntry(LPVOID pVoid);
55 UINT StatusThread();
57 public:
58 CTSVNPathList m_pathList;
60 private:
61 BOOL m_bSelectAll;
62 CString m_sWindowTitle;
63 volatile LONG m_bThreadRunning;
64 CSVNStatusListCtrl m_StatusList;
65 CButton m_SelectAll;
66 bool m_bCancelled;