LCOV - code coverage report
Current view: top level - sdb - XDatabaseRegistrations.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_SDB_XDATABASEREGISTRATIONS_HDL
       2             : #define INCLUDED_COM_SUN_STAR_SDB_XDATABASEREGISTRATIONS_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/container/ElementExistException.hdl"
       7             : #include "com/sun/star/container/NoSuchElementException.hdl"
       8             : #include "com/sun/star/lang/IllegalAccessException.hdl"
       9             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      10             : namespace com { namespace sun { namespace star { namespace sdb { class XDatabaseRegistrationsListener; } } } }
      11             : #include "com/sun/star/uno/RuntimeException.hdl"
      12             : #include "com/sun/star/uno/XInterface.hdl"
      13             : #include "com/sun/star/uno/Reference.h"
      14             : #include "com/sun/star/uno/Sequence.h"
      15             : #include "cppu/macros.hxx"
      16             : #include "rtl/ustring.hxx"
      17             : #include "sal/types.h"
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      20             : 
      21             : namespace com { namespace sun { namespace star { namespace sdb {
      22             : 
      23          10 : class SAL_NO_VTABLE XDatabaseRegistrations : public css::uno::XInterface
      24             : {
      25             : public:
      26             : 
      27             :     // Methods
      28             :     virtual ::sal_Bool SAL_CALL hasRegisteredDatabase( const ::rtl::OUString& Name ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      29             :     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getRegistrationNames() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual ::rtl::OUString SAL_CALL getDatabaseLocation( const ::rtl::OUString& Name ) /* throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual void SAL_CALL registerDatabaseLocation( const ::rtl::OUString& Name, const ::rtl::OUString& Location ) /* throw (css::lang::IllegalArgumentException, css::container::ElementExistException, ::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual void SAL_CALL revokeDatabaseLocation( const ::rtl::OUString& Name ) /* throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual void SAL_CALL changeDatabaseLocation( const ::rtl::OUString& Name, const ::rtl::OUString& NewLocation ) /* throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::sal_Bool SAL_CALL isDatabaseRegistrationReadOnly( const ::rtl::OUString& Name ) /* throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual void SAL_CALL addDatabaseRegistrationsListener( const ::com::sun::star::uno::Reference< css::sdb::XDatabaseRegistrationsListener >& Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL removeDatabaseRegistrationsListener( const ::com::sun::star::uno::Reference< css::sdb::XDatabaseRegistrationsListener >& Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             : 
      38             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      39             : 
      40             : protected:
      41          10 :     ~XDatabaseRegistrations() throw () {} // avoid warnings about virtual members and non-virtual dtor
      42             : };
      43             : 
      44             : 
      45             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::sdb::XDatabaseRegistrations const *);
      46             : } } } }
      47             : 
      48             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::sdb::XDatabaseRegistrations > *) SAL_THROW(());
      49             : 
      50             : #endif

Generated by: LCOV version 1.10