bump product version to 5.0.4.1
[LibreOffice.git] / uui / source / authfallbackdlg.hxx
blob29634d1f69b06ed2a72fdfc943db59724e7692a9
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
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
21 private:
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;
28 public:
29 AuthFallbackDlg(Window* pParent, const OUString& instructions,
30 const OUString& url);
31 virtual ~AuthFallbackDlg();
32 virtual void dispose() SAL_OVERRIDE;
34 OUString GetCode() const { return m_pEDCode->GetText(); }
36 private:
38 DECL_LINK ( OKHdl, Button * );
39 DECL_LINK ( CancelHdl, Button * );
42 #endif // INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX