/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX #define INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX #include #include #include #include #include #include class AuthFallbackDlg : public ModalDialog { private: VclPtr m_pTVInstructions; VclPtr m_pEDUrl; VclPtr m_pEDCode; VclPtr m_pEDGoogleCode; VclPtr m_pBTOk; VclPtr m_pBTCancel; VclPtr m_pGoogleBox; VclPtr m_pOneDriveBox; bool m_bGoogleMode; public: AuthFallbackDlg(Window* pParent, const OUString& instructions, const OUString& url); virtual ~AuthFallbackDlg() override; virtual void dispose() override; OUString GetCode() const; private: DECL_LINK ( OKHdl, Button *, void ); DECL_LINK ( CancelHdl, Button *, void ); }; #endif // INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX