LibreOffice Module vcl (master) 1
uiobject_uno.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#pragma once
11
13#include <com/sun/star/lang/XServiceInfo.hpp>
14#include <com/sun/star/ui/test/XUIObject.hpp>
15
16#include <memory>
17
19
21 css::ui::test::XUIObject, css::lang::XServiceInfo
23
25{
26private:
27 std::unique_ptr<UIObject> mpObj;
28
29public:
30
31 explicit UIObjectUnoObj(std::unique_ptr<UIObject> pObj);
32 virtual ~UIObjectUnoObj() override;
33
34 css::uno::Reference<css::ui::test::XUIObject> SAL_CALL getChild(const OUString& rID) override;
35
36 void SAL_CALL executeAction(const OUString& rAction, const css::uno::Sequence<css::beans::PropertyValue>& xPropValues) override;
37
38 css::uno::Sequence<css::beans::PropertyValue> SAL_CALL getState() override;
39
40 css::uno::Sequence<OUString> SAL_CALL getChildren() override;
41
42 OUString SAL_CALL getType() override;
43
44 OUString SAL_CALL getImplementationName() override;
45
46 sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override;
47
48 css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
49
50 OUString SAL_CALL getHierarchy() override;
51};
52
53/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< css::ui::test::XUIObject > SAL_CALL getChild(const OUString &rID) override
OUString SAL_CALL getType() override
OUString SAL_CALL getHierarchy() override
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ~UIObjectUnoObj() override
sal_Bool SAL_CALL supportsService(OUString const &ServiceName) override
css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getState() override
css::uno::Sequence< OUString > SAL_CALL getChildren() override
UIObjectUnoObj(std::unique_ptr< UIObject > pObj)
std::unique_ptr< UIObject > mpObj
void SAL_CALL executeAction(const OUString &rAction, const css::uno::Sequence< css::beans::PropertyValue > &xPropValues) override
OUString SAL_CALL getImplementationName() override
unsigned char sal_Bool
::comphelper::WeakComponentImplHelper< css::ui::test::XUIObject, css::lang::XServiceInfo > UIObjectBase