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>
12 using namespace com::sun::star
;
13 using namespace ucbhelper
;
15 AuthenticationFallbackRequest::AuthenticationFallbackRequest(
16 const OUString
& rInstructions
,
17 const OUString
& rURL
)
20 ucb::AuthenticationFallbackRequest aRequest
;
21 aRequest
.instructions
= rInstructions
;
24 setRequest( uno::makeAny( aRequest
) );
25 m_xAuthFallback
= new InteractionAuthFallback( this );
28 uno::Reference
< task::XInteractionContinuation
> > aContinuations( 2 );
29 aContinuations
[ 0 ] = new InteractionAbort( this );
30 aContinuations
[ 1 ] = m_xAuthFallback
.get( );
32 setContinuations( aContinuations
);
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */