LCOV - code coverage report
Current view: top level - dbaccess/source/ui/uno - UserSettingsDlg.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 33 0.0 %
Date: 2014-04-14 Functions: 0 14 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 "dbu_reghelper.hxx"
      21             : #include "UserSettingsDlg.hxx"
      22             : #include "UserAdminDlg.hxx"
      23             : #include <comphelper/processfactory.hxx>
      24             : 
      25             : using namespace dbaui;
      26             : 
      27           0 : extern "C" void SAL_CALL createRegistryInfo_OUserSettingsDialog()
      28             : {
      29           0 :     static OMultiInstanceAutoRegistration< OUserSettingsDialog > aAutoRegistration;
      30           0 : }
      31             : 
      32             : namespace dbaui
      33             : {
      34             : 
      35             :     using namespace ::com::sun::star::uno;
      36             :     using namespace ::com::sun::star::lang;
      37             :     using namespace ::com::sun::star::beans;
      38             : 
      39           0 : OUserSettingsDialog::OUserSettingsDialog(const Reference< XComponentContext >& _rxORB)
      40           0 :     :ODatabaseAdministrationDialog(_rxORB)
      41             : {
      42           0 : }
      43             : 
      44           0 : Sequence<sal_Int8> SAL_CALL OUserSettingsDialog::getImplementationId(  ) throw(RuntimeException, std::exception)
      45             : {
      46           0 :     return css::uno::Sequence<sal_Int8>();
      47             : }
      48             : 
      49           0 : Reference< XInterface > SAL_CALL OUserSettingsDialog::Create(const Reference< XMultiServiceFactory >& _rxFactory)
      50             : {
      51           0 :     return *(new OUserSettingsDialog( comphelper::getComponentContext(_rxFactory) ));
      52             : }
      53             : 
      54           0 : OUString SAL_CALL OUserSettingsDialog::getImplementationName() throw(RuntimeException, std::exception)
      55             : {
      56           0 :     return getImplementationName_Static();
      57             : }
      58             : 
      59           0 : OUString OUserSettingsDialog::getImplementationName_Static() throw(RuntimeException)
      60             : {
      61           0 :     return OUString("org.openoffice.comp.dbu.OUserSettingsDialog");
      62             : }
      63             : 
      64           0 : ::comphelper::StringSequence SAL_CALL OUserSettingsDialog::getSupportedServiceNames() throw(RuntimeException, std::exception)
      65             : {
      66           0 :     return getSupportedServiceNames_Static();
      67             : }
      68             : 
      69           0 : ::comphelper::StringSequence OUserSettingsDialog::getSupportedServiceNames_Static() throw(RuntimeException)
      70             : {
      71           0 :     ::comphelper::StringSequence aSupported(1);
      72           0 :     aSupported[0] = "com.sun.star.sdb.UserAdministrationDialog";
      73           0 :     return aSupported;
      74             : }
      75             : 
      76           0 : Reference<XPropertySetInfo>  SAL_CALL OUserSettingsDialog::getPropertySetInfo() throw(RuntimeException, std::exception)
      77             : {
      78           0 :     Reference<XPropertySetInfo>  xInfo( createPropertySetInfo( getInfoHelper() ) );
      79           0 :     return xInfo;
      80             : }
      81             : 
      82           0 : ::cppu::IPropertyArrayHelper& OUserSettingsDialog::getInfoHelper()
      83             : {
      84           0 :     return *const_cast<OUserSettingsDialog*>(this)->getArrayHelper();
      85             : }
      86             : 
      87           0 : ::cppu::IPropertyArrayHelper* OUserSettingsDialog::createArrayHelper( ) const
      88             : {
      89           0 :     Sequence< Property > aProps;
      90           0 :     describeProperties(aProps);
      91           0 :     return new ::cppu::OPropertyArrayHelper(aProps);
      92             : }
      93             : 
      94           0 : Dialog* OUserSettingsDialog::createDialog(Window* _pParent)
      95             : {
      96           0 :     OUserAdminDlg* pDlg = new OUserAdminDlg(_pParent, m_pDatasourceItems, m_aContext, m_aInitialSelection, m_xActiveConnection);
      97           0 :     return pDlg;
      98             : }
      99             : 
     100           0 : }   // namespace dbaui
     101             : 
     102             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10