LCOV - code coverage report
Current view: top level - io/source - services.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 2 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             : 
      20             : #include <osl/diagnose.h>
      21             : #include <cppuhelper/factory.hxx>
      22             : #include <cppuhelper/implementationentry.hxx>
      23             : 
      24             : #include <com/sun/star/registry/XRegistryKey.hpp>
      25             : 
      26             : #include "services.hxx"
      27             : 
      28             : using namespace ::rtl;
      29             : using namespace ::cppu;
      30             : using namespace ::com::sun::star::uno;
      31             : using namespace ::com::sun::star::lang;
      32             : using namespace ::com::sun::star::registry;
      33             : 
      34             : static const struct ImplementationEntry g_entries[] =
      35             : {
      36             :     {
      37             :         io_acceptor::acceptor_CreateInstance, io_acceptor::acceptor_getImplementationName ,
      38             :         io_acceptor::acceptor_getSupportedServiceNames, createSingleComponentFactory ,
      39             :         0, 0
      40             :     },
      41             :     {
      42             :         stoc_connector::connector_CreateInstance, stoc_connector::connector_getImplementationName ,
      43             :         stoc_connector::connector_getSupportedServiceNames, createSingleComponentFactory ,
      44             :         0, 0
      45             :     },
      46             :     {
      47             :         io_stm::OPipeImpl_CreateInstance, io_stm::OPipeImpl_getImplementationName ,
      48             :         io_stm::OPipeImpl_getSupportedServiceNames, createSingleComponentFactory ,
      49             :         0, 0
      50             :     },
      51             :     {
      52             :         io_stm::OPumpImpl_CreateInstance, io_stm::OPumpImpl_getImplementationName ,
      53             :         io_stm::OPumpImpl_getSupportedServiceNames, createSingleComponentFactory ,
      54             :         0, 0
      55             :     },
      56             :     {
      57             :         io_stm::ODataInputStream_CreateInstance, io_stm::ODataInputStream_getImplementationName,
      58             :         io_stm::ODataInputStream_getSupportedServiceNames, createSingleComponentFactory,
      59             :         0, 0
      60             :     },
      61             :     {
      62             :         io_stm::ODataOutputStream_CreateInstance, io_stm::ODataOutputStream_getImplementationName,
      63             :         io_stm::ODataOutputStream_getSupportedServiceNames, createSingleComponentFactory,
      64             :         0, 0
      65             :     },
      66             :     {
      67             :         io_stm::OObjectInputStream_CreateInstance, io_stm::OObjectInputStream_getImplementationName,
      68             :         io_stm::OObjectInputStream_getSupportedServiceNames, createSingleComponentFactory,
      69             :         0, 0
      70             :     },
      71             :     {
      72             :         io_stm::OObjectOutputStream_CreateInstance, io_stm::OObjectOutputStream_getImplementationName,
      73             :         io_stm::OObjectOutputStream_getSupportedServiceNames, createSingleComponentFactory,
      74             :         0, 0
      75             :     },
      76             :     {
      77             :         io_stm::OMarkableInputStream_CreateInstance, io_stm::OMarkableInputStream_getImplementationName,
      78             :         io_stm::OMarkableInputStream_getSupportedServiceNames, createSingleComponentFactory,
      79             :         0, 0
      80             :     },
      81             :     {
      82             :         io_stm::OMarkableOutputStream_CreateInstance, io_stm::OMarkableOutputStream_getImplementationName,
      83             :         io_stm::OMarkableOutputStream_getSupportedServiceNames, createSingleComponentFactory,
      84             :         0, 0
      85             :     },
      86             :     {
      87             :         io_TextInputStream::TextInputStream_CreateInstance, io_TextInputStream::TextInputStream_getImplementationName ,
      88             :         io_TextInputStream::TextInputStream_getSupportedServiceNames, createSingleComponentFactory ,
      89             :         0, 0
      90             :     },
      91             :     {
      92             :         io_TextOutputStream::TextOutputStream_CreateInstance, io_TextOutputStream::TextOutputStream_getImplementationName ,
      93             :         io_TextOutputStream::TextOutputStream_getSupportedServiceNames, createSingleComponentFactory ,
      94             :         0, 0
      95             :     },
      96             :     {0, 0, 0, 0, 0, 0}
      97             : };
      98             : 
      99           0 : extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL io_component_getFactory(
     100             :         const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
     101             : {
     102           0 :     return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
     103             : }
     104             : 
     105             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10