1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX
11 #define INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX
13 #include <vcl/button.hxx>
14 #include <vcl/dialog.hxx>
15 #include <vcl/edit.hxx>
16 #include <vcl/vclmedit.hxx>
19 class AuthFallbackDlg
: public ModalDialog
22 VclPtr
<VclMultiLineEdit
> m_pTVInstructions
;
23 VclPtr
<Edit
> m_pEDUrl
;
24 VclPtr
<Edit
> m_pEDCode
;
25 VclPtr
<PushButton
> m_pBTOk
;
26 VclPtr
<PushButton
> m_pBTCancel
;
29 AuthFallbackDlg(Window
* pParent
, const OUString
& instructions
,
31 virtual ~AuthFallbackDlg();
32 virtual void dispose() SAL_OVERRIDE
;
34 OUString
GetCode() const { return m_pEDCode
->GetText(); }
38 DECL_LINK ( OKHdl
, Button
* );
39 DECL_LINK ( CancelHdl
, Button
* );
42 #endif // INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX