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 #include <ucbhelper/authenticationfallback.hxx>
11 #include <com/sun/star/ucb/AuthenticationFallbackRequest.hpp>
13 using namespace com::sun::star
;
14 using namespace ucbhelper
;
16 AuthenticationFallbackRequest::AuthenticationFallbackRequest(
17 const OUString
& rInstructions
,
18 const OUString
& rURL
)
21 ucb::AuthenticationFallbackRequest aRequest
;
22 aRequest
.instructions
= rInstructions
;
25 setRequest( uno::Any( aRequest
) );
26 m_xAuthFallback
= new InteractionAuthFallback( this );
28 setContinuations({ new InteractionAbort(this), m_xAuthFallback
});
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */