CommitDlg: Update empty file list message
[TortoiseGit.git] / src / TortoiseProc / InputDlg.h
blob0f6edc7ae0a04e8b3a0a51c7a4b86c0596a9714e
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2006 - Stefan Kueng
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 "SciEdit.h"
23 #include "resource.h"
24 /**
25 * \ingroup TortoiseProc
26 * Helper dialog to ask for various text inputs.
28 class CInputDlg : public CResizableStandAloneDialog
30 DECLARE_DYNAMIC(CInputDlg)
32 public:
33 CInputDlg(CWnd* pParent = NULL);
34 virtual ~CInputDlg();
36 enum { IDD = IDD_INPUTDLG };
38 protected:
39 CFont m_logFont;
41 virtual void DoDataExchange(CDataExchange* pDX);
42 virtual BOOL OnInitDialog();
43 virtual BOOL PreTranslateMessage(MSG* pMsg);
44 virtual void OnOK();
46 afx_msg void OnEnChangeLogmessage();
47 DECLARE_MESSAGE_MAP()
48 public:
49 CString m_sInputText;
50 CString m_sHintText;
51 CString m_sTitle;
52 CString m_sCheckText;
53 int m_iCheck;
54 CSciEdit m_cInput;
55 ProjectProperties * m_pProjectProperties;
56 bool m_bUseLogWidth;