LCOV - code coverage report
Current view: top level - dbaccess/source/ui/misc - uiservices.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 38 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             : #include <cppuhelper/factory.hxx>
      21             : #include <osl/diagnose.h>
      22             : #include "dbu_reghelper.hxx"
      23             : 
      24             : using namespace ::dbaui;
      25             : using namespace ::com::sun::star::uno;
      26             : using namespace ::com::sun::star::lang;
      27             : using namespace ::com::sun::star::registry;
      28             : 
      29             : 
      30             : 
      31             : // registry functions
      32             : extern "C" void SAL_CALL createRegistryInfo_OTableFilterDialog();
      33             : extern "C" void SAL_CALL createRegistryInfo_ODataSourcePropertyDialog();
      34             : extern "C" void SAL_CALL createRegistryInfo_OSQLMessageDialog();
      35             : extern "C" void SAL_CALL createRegistryInfo_OBrowser();
      36             : extern "C" void SAL_CALL createRegistryInfo_OFormGridView();
      37             : extern "C" void SAL_CALL createRegistryInfo_DBContentLoader();
      38             : extern "C" void SAL_CALL createRegistryInfo_OInteractionHandler();
      39             : extern "C" void SAL_CALL createRegistryInfo_SbaXGridControl();
      40             : extern "C" void SAL_CALL createRegistryInfo_OQueryControl();
      41             : extern "C" void SAL_CALL createRegistryInfo_OViewControl();
      42             : extern "C" void SAL_CALL createRegistryInfo_OTableControl();
      43             : extern "C" void SAL_CALL createRegistryInfo_ORelationControl();
      44             : extern "C" void SAL_CALL createRegistryInfo_ComposerDialogs();
      45             : extern "C" void SAL_CALL createRegistryInfo_ODBApplication();
      46             : extern "C" void SAL_CALL createRegistryInfo_ODirectSQLDialog();
      47             : extern "C" void SAL_CALL createRegistryInfo_OAdvancedSettingsDialog();
      48             : extern "C" void SAL_CALL createRegistryInfo_ODBTypeWizDialog();
      49             : extern "C" void SAL_CALL createRegistryInfo_OUserSettingsDialog();
      50             : extern "C" void SAL_CALL createRegistryInfo_ODBTypeWizDialogSetup();
      51             : extern "C" void SAL_CALL createRegistryInfo_OColumnControlModel();
      52             : extern "C" void SAL_CALL createRegistryInfo_OColumnControl();
      53             : extern "C" void SAL_CALL createRegistryInfo_OToolboxController();
      54             : extern "C" void SAL_CALL createRegistryInfo_CopyTableWizard();
      55             : extern "C" void SAL_CALL createRegistryInfo_OTextConnectionSettingsDialog();
      56             : extern "C" void SAL_CALL createRegistryInfo_LimitBoxController();
      57             : 
      58             : 
      59           0 : extern "C" void SAL_CALL createRegistryInfo_DBU()
      60             : {
      61             :     static sal_Bool bInit = sal_False;
      62           0 :     if (!bInit)
      63             :     {
      64           0 :         createRegistryInfo_OTableFilterDialog();
      65           0 :         createRegistryInfo_ODataSourcePropertyDialog();
      66           0 :         createRegistryInfo_OSQLMessageDialog();
      67           0 :         createRegistryInfo_OBrowser();
      68           0 :         createRegistryInfo_OFormGridView();
      69           0 :         createRegistryInfo_DBContentLoader();
      70           0 :         createRegistryInfo_OInteractionHandler();
      71           0 :         createRegistryInfo_SbaXGridControl();
      72           0 :         createRegistryInfo_OQueryControl();
      73           0 :         createRegistryInfo_OViewControl();
      74           0 :         createRegistryInfo_OTableControl();
      75           0 :         createRegistryInfo_ORelationControl();
      76           0 :         createRegistryInfo_ComposerDialogs();
      77           0 :         createRegistryInfo_ODBApplication();
      78           0 :         createRegistryInfo_ODirectSQLDialog();
      79           0 :         createRegistryInfo_OAdvancedSettingsDialog();
      80           0 :         createRegistryInfo_ODBTypeWizDialog();
      81           0 :         createRegistryInfo_ODBTypeWizDialogSetup();
      82           0 :         createRegistryInfo_OUserSettingsDialog();
      83           0 :         createRegistryInfo_OColumnControlModel();
      84           0 :         createRegistryInfo_OColumnControl();
      85           0 :         createRegistryInfo_OToolboxController();
      86           0 :         createRegistryInfo_CopyTableWizard();
      87           0 :         createRegistryInfo_OTextConnectionSettingsDialog();
      88           0 :         createRegistryInfo_LimitBoxController();
      89           0 :         bInit = sal_True;
      90             :     }
      91           0 : }
      92             : 
      93           0 : extern "C"  SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbu_component_getFactory(
      94             :                     const sal_Char* pImplementationName,
      95             :                     void* pServiceManager,
      96             :                     void* /*pRegistryKey*/)
      97             : {
      98           0 :     createRegistryInfo_DBU();
      99             : 
     100           0 :     Reference< XInterface > xRet;
     101           0 :     if (pServiceManager && pImplementationName)
     102             :     {
     103           0 :         xRet = ::dbaui::OModuleRegistration::getComponentFactory(
     104             :             OUString::createFromAscii(pImplementationName),
     105           0 :             static_cast< XMultiServiceFactory* >(pServiceManager));
     106             :     }
     107             : 
     108           0 :     if (xRet.is())
     109           0 :         xRet->acquire();
     110           0 :     return xRet.get();
     111             : };
     112             : 
     113             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10