Add support for "project" config level
[TortoiseGit.git] / src / TortoiseProc / SubmoduleUpdateDlg.h
blobc468c6af3135259c605adcb4feb37bc16e99143f
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2012 Sven Strickroth, <email@cs-ware.de>
4 // Copyright (C) 2013 - TortoiseGit
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #pragma once
23 #include "StandAloneDlg.h"
24 #include "registry.h"
25 #include "HistoryCombo.h"
27 class CSubmoduleUpdateDlg : public CStandAloneDialog
29 DECLARE_DYNAMIC(CSubmoduleUpdateDlg)
31 public:
32 CSubmoduleUpdateDlg(CWnd* pParent = NULL); // standard constructor
33 virtual ~CSubmoduleUpdateDlg();
35 // Dialog Data
36 enum { IDD = IDD_SUBMODULE_UPDATE };
38 protected:
39 virtual BOOL OnInitDialog();
40 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
42 DECLARE_MESSAGE_MAP()
44 afx_msg void OnBnClickedOk();
45 afx_msg void OnLbnSelchangeListPath();
46 afx_msg void OnBnClickedSelectall();
48 public:
49 BOOL m_bInit;
50 BOOL m_bRecursive;
51 BOOL m_bForce;
52 BOOL m_bNoFetch;
53 BOOL m_bMerge;
54 BOOL m_bRebase;
55 BOOL m_bRemote;
56 STRING_VECTOR m_PathFilterList;
57 STRING_VECTOR m_PathList;
59 protected:
60 CListBox m_PathListBox;
61 CRegString m_regPath;
62 CButton m_SelectAll;