LibreOffice Module sfx2 (master) 1
exoticfileloadexception.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 */
9
10#ifndef INCLUDED_SFX2_EXOTICFILELOADEXCEPTION_HXX
11#define INCLUDED_SFX2_EXOTICFILELOADEXCEPTION_HXX
12
13#include <com/sun/star/task/XInteractionContinuation.hpp>
14#include <com/sun/star/task/XInteractionRequest.hpp>
16
17class ExoticFileLoadException : public cppu::WeakImplHelper<css::task::XInteractionRequest>
18{
19 // C++ interface
20public:
21 ExoticFileLoadException(const OUString& rURL, const OUString& rFilterUIName);
22 bool isApprove() const;
23
24 // UNO interface
25public:
26 virtual css::uno::Sequence<css::uno::Reference<css::task::XInteractionContinuation>>
27 SAL_CALL getContinuations() override
28 {
29 return m_lContinuations;
30 }
31 css::uno::Any SAL_CALL getRequest() override { return m_aRequest; }
32
33 // member
34private:
35 css::uno::Any m_aRequest;
36 css::uno::Reference<css::task::XInteractionContinuation> m_xAbort;
37 css::uno::Reference<css::task::XInteractionContinuation> m_xApprove;
38 css::uno::Sequence<css::uno::Reference<css::task::XInteractionContinuation>> m_lContinuations;
39};
40
41#endif
42
43/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > m_lContinuations
ExoticFileLoadException(const OUString &rURL, const OUString &rFilterUIName)
virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() override
css::uno::Any SAL_CALL getRequest() override
css::uno::Reference< css::task::XInteractionContinuation > m_xApprove
css::uno::Reference< css::task::XInteractionContinuation > m_xAbort