LCOV - code coverage report
Current view: top level - extensions/source/propctrlr - pcrservices.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 32 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             : 
      20             : 
      21             : #include "modulepcr.hxx"
      22             : 
      23             : 
      24             : 
      25             : using namespace ::rtl;
      26             : using namespace ::com::sun::star::uno;
      27             : using namespace ::com::sun::star::lang;
      28             : using namespace ::com::sun::star::registry;
      29             : 
      30             : 
      31             : 
      32             : extern "C" void SAL_CALL createRegistryInfo_OPropertyBrowserController();
      33             : extern "C" void SAL_CALL createRegistryInfo_FormController();
      34             : extern "C" void SAL_CALL createRegistryInfo_DefaultFormComponentInspectorModel();
      35             : extern "C" void SAL_CALL createRegistryInfo_DefaultHelpProvider();
      36             : extern "C" void SAL_CALL createRegistryInfo_OControlFontDialog();
      37             : extern "C" void SAL_CALL createRegistryInfo_OTabOrderDialog();
      38             : extern "C" void SAL_CALL createRegistryInfo_CellBindingPropertyHandler();
      39             : extern "C" void SAL_CALL createRegistryInfo_ButtonNavigationHandler();
      40             : extern "C" void SAL_CALL createRegistryInfo_EditPropertyHandler();
      41             : extern "C" void SAL_CALL createRegistryInfo_FormComponentPropertyHandler();
      42             : extern "C" void SAL_CALL createRegistryInfo_EFormsPropertyHandler();
      43             : extern "C" void SAL_CALL createRegistryInfo_XSDValidationPropertyHandler();
      44             : extern "C" void SAL_CALL createRegistryInfo_EventHandler();
      45             : extern "C" void SAL_CALL createRegistryInfo_GenericPropertyHandler();
      46             : extern "C" void SAL_CALL createRegistryInfo_ObjectInspectorModel();
      47             : extern "C" void SAL_CALL createRegistryInfo_SubmissionPropertyHandler();
      48             : extern "C" void SAL_CALL createRegistryInfo_StringRepresentation();
      49             : extern "C" void SAL_CALL createRegistryInfo_MasterDetailLinkDialog();
      50             : extern "C" void SAL_CALL createRegistryInfo_FormGeometryHandler();
      51             : 
      52             : 
      53             : 
      54           0 : extern "C" void SAL_CALL pcr_initializeModule()
      55             : {
      56             :     static sal_Bool s_bInit = sal_False;
      57           0 :     if (!s_bInit)
      58             :     {
      59           0 :         createRegistryInfo_OPropertyBrowserController();
      60           0 :         createRegistryInfo_FormController();
      61           0 :         createRegistryInfo_DefaultFormComponentInspectorModel();
      62           0 :         createRegistryInfo_DefaultHelpProvider();
      63           0 :         createRegistryInfo_OControlFontDialog();
      64           0 :         createRegistryInfo_OTabOrderDialog();
      65           0 :         createRegistryInfo_CellBindingPropertyHandler();
      66           0 :         createRegistryInfo_ButtonNavigationHandler();
      67           0 :         createRegistryInfo_EditPropertyHandler();
      68           0 :         createRegistryInfo_FormComponentPropertyHandler();
      69           0 :         createRegistryInfo_EFormsPropertyHandler();
      70           0 :         createRegistryInfo_XSDValidationPropertyHandler();
      71           0 :         createRegistryInfo_EventHandler();
      72           0 :         createRegistryInfo_GenericPropertyHandler();
      73           0 :         createRegistryInfo_ObjectInspectorModel();
      74           0 :         createRegistryInfo_SubmissionPropertyHandler();
      75           0 :         createRegistryInfo_StringRepresentation();
      76           0 :         createRegistryInfo_MasterDetailLinkDialog();
      77           0 :         createRegistryInfo_FormGeometryHandler();
      78           0 :         s_bInit = sal_True;
      79             :     }
      80           0 : }
      81             : 
      82             : 
      83           0 : extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL pcr_component_getFactory(
      84             :                     const sal_Char* pImplementationName,
      85             :                     void* pServiceManager,
      86             :                     SAL_UNUSED_PARAMETER void* /*pRegistryKey*/)
      87             : {
      88           0 :     pcr_initializeModule();
      89             : 
      90           0 :     Reference< XInterface > xRet;
      91           0 :     if (pServiceManager && pImplementationName)
      92             :     {
      93           0 :         xRet = ::pcr::PcrModule::getInstance().getComponentFactory(
      94           0 :             OUString::createFromAscii(pImplementationName));
      95             :     }
      96             : 
      97           0 :     if (xRet.is())
      98           0 :         xRet->acquire();
      99           0 :     return xRet.get();
     100             : };
     101             : 
     102             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10