Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / uui / source / requeststringresolver.hxx
blobf9c95d87f6f5c1a167f1ef9b9e3430659d7d88df
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 #include <com/sun/star/lang/XServiceInfo.hpp>
23 #include <com/sun/star/task/XInteractionRequestStringResolver.hpp>
24 #include <com/sun/star/uno/XComponentContext.hpp>
25 #include <cppuhelper/implbase.hxx>
26 #include "iahndl.hxx"
28 class UUIInteractionRequestStringResolver:
29 public cppu::WeakImplHelper<
30 css::lang::XServiceInfo,
31 css::task::XInteractionRequestStringResolver >
33 public:
34 explicit UUIInteractionRequestStringResolver(
35 css::uno::Reference< css::uno::XComponentContext > const & rxContext);
37 private:
38 UUIInteractionHelper m_pImpl;
40 UUIInteractionRequestStringResolver(UUIInteractionRequestStringResolver const &) = delete;
41 void operator =(UUIInteractionRequestStringResolver const &) = delete;
43 virtual ~UUIInteractionRequestStringResolver() override;
45 virtual OUString SAL_CALL getImplementationName() override;
47 virtual sal_Bool SAL_CALL supportsService(OUString const &
48 rServiceName) override;
50 virtual css::uno::Sequence< OUString > SAL_CALL
51 getSupportedServiceNames() override;
53 virtual css::beans::Optional< OUString > SAL_CALL
54 getStringFromInformationalRequest(
55 const css::uno::Reference< css::task::XInteractionRequest >& Request ) override;
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */