Make filter structure the same across the projects
[TortoiseGit.git] / src / TortoiseProc / PromptDlg.h
blobf3f753a43ff940712d6f5749f04e9649598308be
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 "resource.h"
22 #include "StandAloneDlg.h"
24 /**
25 * \ingroup TortoiseProc
27 * A dialog box which is used by git authentication callback
28 * to prompt the user for authentication data.
30 class CPromptDlg : public CDialog
32 DECLARE_DYNAMIC(CPromptDlg)
34 public:
35 CPromptDlg(CWnd* pParent = NULL);
36 virtual ~CPromptDlg();
38 void SetHide(BOOL hide);
40 enum { IDD = IDD_PROMPT };
41 protected:
42 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
43 virtual BOOL OnInitDialog();
45 DECLARE_MESSAGE_MAP()
46 public:
47 CString m_info;
48 CString m_sPass;
49 CEdit m_pass;
50 BOOL m_hide;
51 BOOL m_saveCheck;
52 HWND m_hParentWnd;