LCOV - code coverage report
Current view: top level - connectivity/source/drivers/firebird - Users.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 1 0.0 %
Date: 2014-11-03 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             : 
      10             : #ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_USERS_HXX
      11             : #define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_USERS_HXX
      12             : 
      13             : #include "DatabaseMetaData.hxx"
      14             : 
      15             : #include <connectivity/sdbcx/VCollection.hxx>
      16             : 
      17             : namespace connectivity
      18             : {
      19             :     namespace firebird
      20             :     {
      21             : 
      22             :         /**
      23             :          * This implements com.sun.star.sdbcx.Container.
      24             :          */
      25           0 :         class Users: public ::connectivity::sdbcx::OCollection
      26             :         {
      27             :         protected:
      28             :             ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >
      29             :                 m_xMetaData;
      30             : 
      31             :             // OCollection
      32             :             virtual void impl_refresh()
      33             :                 throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
      34             :             virtual ::connectivity::sdbcx::ObjectType createObject(
      35             :                                                 const ::rtl::OUString& rName) SAL_OVERRIDE;
      36             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
      37             :                     createDescriptor() SAL_OVERRIDE;
      38             :             virtual ::connectivity::sdbcx::ObjectType appendObject(
      39             :                         const OUString& rName,
      40             :                         const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rDescriptor) SAL_OVERRIDE;
      41             : 
      42             :         public:
      43             :             Users(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& rMetaData,
      44             :                   ::cppu::OWeakObject& rParent,
      45             :                   ::osl::Mutex& rMutex,
      46             :                   ::connectivity::TStringVector& rNames);
      47             : 
      48             :             // TODO: we should also implement XDataDescriptorFactory, XRefreshable,
      49             :             // XAppend,  etc., but all are optional.
      50             : 
      51             :             // XDrop
      52             :             virtual void dropObject(sal_Int32 nPosition, const ::rtl::OUString& rName) SAL_OVERRIDE;
      53             : 
      54             :         };
      55             : 
      56             :     } // namespace firebird
      57             : } // namespace connectivity
      58             : 
      59             : 
      60             : #endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_USERS_HXX
      61             : 
      62             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10