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/.
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 .
19 #ifndef INCLUDED_TOOLKIT_CONTROLS_ROADMAPENTRY_HXX
20 #define INCLUDED_TOOLKIT_CONTROLS_ROADMAPENTRY_HXX
22 #include <cppuhelper/implbase1.hxx>
23 #include <comphelper/uno3.hxx>
24 #include <comphelper/broadcasthelper.hxx>
25 #include <comphelper/propertycontainer.hxx>
26 #include <comphelper/proparrhlp.hxx>
27 #include <com/sun/star/lang/XServiceInfo.hpp>
30 #define RM_PROPERTY_ID_LABEL 1
31 #define RM_PROPERTY_ID_ID 2
32 #define RM_PROPERTY_ID_ENABLED 4
33 #define RM_PROPERTY_ID_INTERACTIVE 5
35 typedef ::cppu::WeakImplHelper1
< ::com::sun::star::lang::XServiceInfo
38 class ORoadmapEntry
:public ORoadmapEntry_Base
39 ,public ::comphelper::OMutexAndBroadcastHelper
40 ,public ::comphelper::OPropertyContainer
41 ,public ::comphelper::OPropertyArrayUsageHelper
< ORoadmapEntry
>
48 DECLARE_XINTERFACE() // merge XInterface implementations
49 DECLARE_XTYPEPROVIDER() // merge XTypeProvider implementations
51 /// @see ::com::sun::star::beans::XPropertySet
52 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertySetInfo
>
53 SAL_CALL
getPropertySetInfo()
54 throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
57 virtual ::cppu::IPropertyArrayHelper
& SAL_CALL
getInfoHelper() SAL_OVERRIDE
;
59 // OPropertyArrayUsageHelper
60 virtual ::cppu::IPropertyArrayHelper
* createArrayHelper() const SAL_OVERRIDE
;
62 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
63 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
64 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
69 // (e.g. DECLARE_SERVICE_INFO();)
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */