LCOV - code coverage report
Current view: top level - chart2/source/model/inc - ChartTypeManager.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 1 0.0 %
Date: 2014-04-14 Functions: 0 1 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_CHART2_SOURCE_MODEL_INC_CHARTTYPEMANAGER_HXX
      20             : #define INCLUDED_CHART2_SOURCE_MODEL_INC_CHARTTYPEMANAGER_HXX
      21             : 
      22             : #include "OPropertySet.hxx"
      23             : #include "MutexContainer.hxx"
      24             : #include <cppuhelper/implbase3.hxx>
      25             : #include <comphelper/uno3.hxx>
      26             : #include "ServiceMacros.hxx"
      27             : #include <com/sun/star/uno/XComponentContext.hpp>
      28             : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
      29             : #include <com/sun/star/lang/XServiceInfo.hpp>
      30             : 
      31             : #include <com/sun/star/chart2/XChartTypeManager.hpp>
      32             : 
      33             : namespace chart
      34             : {
      35             : 
      36             : class ChartTypeManager :
      37             :         public ::cppu::WeakImplHelper3<
      38             :         css::lang::XServiceInfo,
      39             :         ::com::sun::star::lang::XMultiServiceFactory,
      40             :         ::com::sun::star::chart2::XChartTypeManager >
      41             : {
      42             : public:
      43             :     explicit ChartTypeManager(
      44             :         ::com::sun::star::uno::Reference<
      45             :             ::com::sun::star::uno::XComponentContext > const & xContext );
      46             :     virtual ~ChartTypeManager();
      47             : 
      48             :     virtual OUString SAL_CALL
      49             :         getImplementationName()
      50             :             throw( ::com::sun::star::uno::RuntimeException, std::exception )
      51             :         SAL_OVERRIDE;
      52             :     virtual sal_Bool SAL_CALL
      53             :         supportsService( const OUString& ServiceName )
      54             :             throw( ::com::sun::star::uno::RuntimeException, std::exception )
      55             :         SAL_OVERRIDE;
      56             :     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
      57             :         getSupportedServiceNames()
      58             :             throw( ::com::sun::star::uno::RuntimeException, std::exception )
      59             :         SAL_OVERRIDE;
      60             :     static OUString getImplementationName_Static();
      61             :     static ::com::sun::star::uno::Sequence< OUString >
      62             :         getSupportedServiceNames_Static();
      63             : 
      64             :     /// establish methods for factory instatiation
      65           0 :     APPHELPER_SERVICE_FACTORY_HELPER( ChartTypeManager )
      66             : 
      67             : protected:
      68             :     // ____ XMultiServiceFactory ____
      69             :     virtual ::com::sun::star::uno::Reference<
      70             :             ::com::sun::star::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier )
      71             :         throw (::com::sun::star::uno::Exception,
      72             :                ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      73             :     virtual ::com::sun::star::uno::Reference<
      74             :         ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments(
      75             :             const OUString& ServiceSpecifier,
      76             :             const ::com::sun::star::uno::Sequence<
      77             :             ::com::sun::star::uno::Any >& Arguments )
      78             :         throw (::com::sun::star::uno::Exception,
      79             :                ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      80             :     virtual ::com::sun::star::uno::Sequence<
      81             :         OUString > SAL_CALL getAvailableServiceNames()
      82             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      83             : 
      84             :     // ____ XChartTypeManager ____
      85             :     // currently empty
      86             : 
      87             : private:
      88             :     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
      89             :         m_xContext;
      90             : };
      91             : 
      92             : } //  namespace chart
      93             : 
      94             : // INCLUDED_CHART2_SOURCE_MODEL_INC_CHARTTYPEMANAGER_HXX
      95             : #endif
      96             : 
      97             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10