LCOV - code coverage report
Current view: top level - dbaccess/source/ui/inc - IItemSetHelper.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 4 0.0 %
Date: 2014-11-03 Functions: 0 4 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             : #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_IITEMSETHELPER_HXX
      21             : #define INCLUDED_DBACCESS_SOURCE_UI_INC_IITEMSETHELPER_HXX
      22             : 
      23             : #include <sal/types.h>
      24             : #include <comphelper/uno3.hxx>
      25             : #include "dsntypes.hxx"
      26             : 
      27             : namespace com { namespace sun { namespace star {
      28             :     namespace sdbc {
      29             :         class XConnection;
      30             :         class XDriver;
      31             :     }
      32             :     namespace lang {
      33             :         class XMultiServiceFactory;
      34             :     }
      35             : }}}
      36             : 
      37             : class SfxItemSet;
      38             : namespace dbaui
      39             : {
      40           0 :     class SAL_NO_VTABLE IItemSetHelper
      41             :     {
      42             :     public:
      43             :         virtual const SfxItemSet* getOutputSet() const = 0;
      44             :         virtual SfxItemSet* getWriteOutputSet() = 0;
      45             : 
      46             :     protected:
      47           0 :         ~IItemSetHelper() {}
      48             :     };
      49             : 
      50           0 :     class SAL_NO_VTABLE IDatabaseSettingsDialog
      51             :     {
      52             :     public:
      53             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > getORB() const = 0;
      54             :         virtual ::std::pair< ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >,sal_Bool> createConnection() = 0;
      55             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDriver > getDriver() = 0;
      56             :         virtual OUString getDatasourceType(const SfxItemSet& _rSet) const = 0;
      57             :         virtual void clearPassword() = 0;
      58             :         virtual bool saveDatasource() = 0;
      59             :         virtual void setTitle(const OUString& _sTitle) = 0;
      60             : 
      61             :         /** enables or disables the user's possibility to confirm the settings
      62             : 
      63             :             In a wizard, disabling this will usually disable the "Finish" button.
      64             :             In a normal tab dialog, this will usually disable the "OK" button.
      65             :         */
      66             :         virtual void enableConfirmSettings( bool _bEnable ) = 0;
      67             : 
      68             :     protected:
      69           0 :         ~IDatabaseSettingsDialog() {}
      70             :     };
      71             : }
      72             : #endif // INCLUDED_DBACCESS_SOURCE_UI_INC_IITEMSETHELPER_HXX
      73             : 
      74             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10