2010-10-14 08:27:31 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2013-10-23 19:15:52 +02:00
|
|
|
#ifndef INCLUDED_TOOLKIT_CONTROLS_ROADMAPENTRY_HXX
|
|
|
|
#define INCLUDED_TOOLKIT_CONTROLS_ROADMAPENTRY_HXX
|
2004-05-19 12:42:54 +00:00
|
|
|
|
|
|
|
#include <comphelper/uno3.hxx>
|
|
|
|
#include <comphelper/broadcasthelper.hxx>
|
|
|
|
#include <comphelper/propertycontainer.hxx>
|
|
|
|
#include <comphelper/proparrhlp.hxx>
|
|
|
|
#include <com/sun/star/lang/XServiceInfo.hpp>
|
2016-12-06 19:35:55 +01:00
|
|
|
#include <cppuhelper/implbase.hxx>
|
2004-05-19 12:42:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
#define RM_PROPERTY_ID_LABEL 1
|
|
|
|
#define RM_PROPERTY_ID_ID 2
|
|
|
|
#define RM_PROPERTY_ID_ENABLED 4
|
|
|
|
#define RM_PROPERTY_ID_INTERACTIVE 5
|
|
|
|
|
2016-12-06 19:35:55 +01:00
|
|
|
typedef cppu::WeakImplHelper< css::lang::XServiceInfo > ORoadmapEntry_Base;
|
2004-05-19 12:42:54 +00:00
|
|
|
|
2017-10-20 13:44:12 +02:00
|
|
|
class ORoadmapEntry final : public ORoadmapEntry_Base
|
2004-05-19 12:42:54 +00:00
|
|
|
,public ::comphelper::OMutexAndBroadcastHelper
|
|
|
|
,public ::comphelper::OPropertyContainer
|
|
|
|
,public ::comphelper::OPropertyArrayUsageHelper< ORoadmapEntry >
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
ORoadmapEntry();
|
|
|
|
|
2017-10-20 13:44:12 +02:00
|
|
|
private:
|
2004-05-19 12:42:54 +00:00
|
|
|
DECLARE_XINTERFACE() // merge XInterface implementations
|
|
|
|
DECLARE_XTYPEPROVIDER() // merge XTypeProvider implementations
|
|
|
|
|
2015-10-23 09:07:12 +02:00
|
|
|
/// @see css::beans::XPropertySet
|
|
|
|
virtual css::uno::Reference< css::beans::XPropertySetInfo >
|
2017-01-26 12:28:58 +01:00
|
|
|
SAL_CALL getPropertySetInfo() override;
|
2004-05-19 12:42:54 +00:00
|
|
|
|
|
|
|
// OPropertySetHelper
|
2015-10-12 16:04:04 +02:00
|
|
|
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
|
2004-05-19 12:42:54 +00:00
|
|
|
|
|
|
|
// OPropertyArrayUsageHelper
|
2015-10-12 16:04:04 +02:00
|
|
|
virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const override;
|
2004-05-19 12:42:54 +00:00
|
|
|
|
2017-01-26 12:28:58 +01:00
|
|
|
virtual OUString SAL_CALL getImplementationName( ) override;
|
|
|
|
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
|
|
|
|
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
|
2004-05-19 12:42:54 +00:00
|
|
|
|
2017-10-20 13:44:12 +02:00
|
|
|
OUString m_sLabel;
|
|
|
|
sal_Int32 m_nID;
|
2014-02-24 11:13:09 +01:00
|
|
|
bool m_bEnabled;
|
|
|
|
bool m_bInteractive;
|
2004-05-19 12:42:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:27:31 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|