LCOV - code coverage report
Current view: top level - include/toolkit/controls - roadmapentry.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 1 0.0 %
Date: 2014-04-14 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      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 .
      18             :  */
      19             : #ifndef INCLUDED_TOOLKIT_CONTROLS_ROADMAPENTRY_HXX
      20             : #define INCLUDED_TOOLKIT_CONTROLS_ROADMAPENTRY_HXX
      21             : 
      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>
      28             : 
      29             : 
      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
      34             : 
      35             : typedef ::cppu::WeakImplHelper1 <   ::com::sun::star::lang::XServiceInfo
      36             :                                 >   ORoadmapEntry_Base;
      37             : 
      38           0 : class ORoadmapEntry :public ORoadmapEntry_Base
      39             :             ,public ::comphelper::OMutexAndBroadcastHelper
      40             :             ,public ::comphelper::OPropertyContainer
      41             :             ,public ::comphelper::OPropertyArrayUsageHelper< ORoadmapEntry >
      42             : {
      43             : 
      44             : public:
      45             :        ORoadmapEntry();
      46             : 
      47             : protected:
      48             :     DECLARE_XINTERFACE()        // merge XInterface implementations
      49             :     DECLARE_XTYPEPROVIDER()     // merge XTypeProvider implementations
      50             : 
      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;
      55             : 
      56             :     // OPropertySetHelper
      57             :     virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
      58             : 
      59             :     // OPropertyArrayUsageHelper
      60             :     virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const SAL_OVERRIDE;
      61             : 
      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;
      65             : 
      66             : 
      67             :     // other stuff
      68             : 
      69             :     // (e.g. DECLARE_SERVICE_INFO();)
      70             : 
      71             : protected:
      72             :     // <properties>
      73             :     OUString     m_sLabel;
      74             :     sal_Int32           m_nID;
      75             :     bool            m_bEnabled;
      76             :     bool            m_bInteractive;
      77             : 
      78             :     // </properties>
      79             : };
      80             : 
      81             : #endif
      82             : 
      83             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10