Make sounds for indicating a warning or error work
[TortoiseGit.git] / src / TortoiseProc / CreateRepoDlg.h
blob96d3b8293b481178936b2b5849ca3664c3fd0245
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2010-2011 - TortoiseGit
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 "registry.h"
23 #include "tooltip.h"
25 // CCreateRepoDlg dialog
27 class CCreateRepoDlg : public CStandAloneDialog
29 DECLARE_DYNCREATE(CCreateRepoDlg)
31 public:
32 CCreateRepoDlg(CWnd* pParent = NULL); // standard constructor
33 virtual ~CCreateRepoDlg();
35 // Dialog Data
36 enum { IDD = IDD_CREATEREPO};
38 protected:
39 // Overrides
40 virtual void OnOK();
41 virtual void OnCancel();
43 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
44 virtual BOOL OnInitDialog();
45 CString m_ModuleName;
47 DECLARE_MESSAGE_MAP()
49 public:
50 BOOL m_bBare;
51 CString m_folder;
53 protected:
54 afx_msg void OnBnClickedCheckBare();
56 CToolTips m_tooltips;
57 virtual BOOL PreTranslateMessage(MSG* pMsg);