Allow to commit to super project after push in submodule
[TortoiseGit.git] / src / TortoiseProc / SimplePrompt.h
blob3bbf009bee3ad5a49869993208c499e3037a725c
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 "resource.h"
24 /**
25 * \ingroup TortoiseProc
26 * Helper dialog to ask the user for authentication data.
28 class CSimplePrompt : public CDialog
30 DECLARE_DYNAMIC(CSimplePrompt)
32 public:
33 CSimplePrompt(CWnd* pParent = NULL);
34 virtual ~CSimplePrompt();
36 enum { IDD = IDD_SIMPLEPROMPT };
38 protected:
39 virtual void DoDataExchange(CDataExchange* pDX);
40 virtual BOOL OnInitDialog();
42 DECLARE_MESSAGE_MAP()
43 public:
44 CString m_sUsername;
45 CString m_sPassword;
46 CString m_sRealm;
47 BOOL m_bSaveAuthentication;
48 HWND m_hParentWnd;