LCOV - code coverage report
Current view: top level - desktop/source/deployment - dp_services.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 2 2 100.0 %
Date: 2014-11-03 Functions: 1 1 100.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             : 
      21             : #define COMPHELPER_SERVICEDECL_COMPONENT_HELPER_MAX_ARGS 12
      22             : #include <comphelper/servicedecl.hxx>
      23             : 
      24             : using namespace com::sun::star;
      25             : namespace sdecl = comphelper::service_decl;
      26             : 
      27             : namespace dp_registry {
      28             : namespace backend {
      29             : 
      30             : namespace configuration {
      31             : extern sdecl::ServiceDecl const serviceDecl;
      32             : }
      33             : 
      34             : namespace component {
      35             : extern sdecl::ServiceDecl const serviceDecl;
      36             : }
      37             : 
      38             : namespace script {
      39             : extern sdecl::ServiceDecl const serviceDecl;
      40             : }
      41             : 
      42             : namespace sfwk {
      43             : extern sdecl::ServiceDecl const serviceDecl;
      44             : }
      45             : 
      46             : namespace help {
      47             : extern sdecl::ServiceDecl const serviceDecl;
      48             : }
      49             : 
      50             : namespace executable {
      51             : extern sdecl::ServiceDecl const serviceDecl;
      52             : }
      53             : 
      54             : } // namespace backend
      55             : } // namespace dp_registry
      56             : 
      57             : namespace dp_manager {
      58             : namespace factory {
      59             : extern sdecl::ServiceDecl const serviceDecl;
      60             : }
      61             : extern sdecl::ServiceDecl const serviceDecl;
      62             : }
      63             : 
      64             : namespace dp_log {
      65             : extern sdecl::ServiceDecl const serviceDecl;
      66             : }
      67             : 
      68             : namespace dp_info {
      69             : extern sdecl::ServiceDecl const serviceDecl;
      70             : }
      71             : 
      72             : extern "C" {
      73             : 
      74        1122 : SAL_DLLPUBLIC_EXPORT void * SAL_CALL deployment_component_getFactory(
      75             :     sal_Char const * pImplName,
      76             :     void * pServiceManager,
      77             :     void * pRegistryKey )
      78             : {
      79             :     return component_getFactoryHelper(
      80             :         pImplName,
      81             :         static_cast<css::lang::XMultiServiceFactory *>(pServiceManager),
      82             :         static_cast<css::registry::XRegistryKey *>(pRegistryKey),
      83             :         dp_registry::backend::configuration::serviceDecl,
      84             :         dp_registry::backend::component::serviceDecl,
      85             :         dp_registry::backend::help::serviceDecl,
      86             :         dp_registry::backend::script::serviceDecl,
      87             :         dp_registry::backend::sfwk::serviceDecl,
      88             :         dp_registry::backend::executable::serviceDecl,
      89             :         dp_manager::factory::serviceDecl,
      90             :         dp_log::serviceDecl,
      91             :         dp_info::serviceDecl,
      92        1122 :         dp_manager::serviceDecl);
      93             : }
      94             : 
      95             : } // extern "C"
      96             : 
      97             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10