User: vg      
Date: 05/02/16 07:59:21

Modified:
 /dba/dbaccess/source/core/dataaccess/
  datasource.hxx

Log:
 INTEGRATION: CWS hsqldb2 (1.23.20); FILE MERGED
 2005/01/28 12:19:40 oj 1.23.20.2: #i39922# fix for storeAsURL and merges from 
dba23
 2005/01/19 07:06:48 oj 1.23.20.1: #i39922# merge from dba22 and fixes in 
datasource for embedded storage

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: datasource.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/datasource.hxx?r1=1.25&r2=1.26
Delta lines:  +15 -1
--------------------
--- datasource.hxx      2 Feb 2005 13:59:48 -0000       1.25
+++ datasource.hxx      16 Feb 2005 15:59:18 -0000      1.26
@@ -110,6 +110,12 @@
 #ifndef _CPPUHELPER_IMPLBASE9_HXX_
 #include <cppuhelper/implbase9.hxx>
 #endif
+#ifndef _CPPUHELPER_IMPLBASE10_HXX_
+#include <cppuhelper/implbase10.hxx>
+#endif
+#ifndef _COM_SUN_STAR_EMBED_XTRANSACTIONLISTENER_HPP_
+#include <com/sun/star/embed/XTransactionListener.hpp>
+#endif
 #ifndef _DBASHARED_APITOOLS_HXX_
 #include "apitools.hxx"
 #endif
@@ -211,7 +217,7 @@
                                                        >       
ODatabaseSource_Base;
 
 
-typedef ::cppu::ImplHelper9    <       ::com::sun::star::frame::XModel
+typedef ::cppu::ImplHelper10   <       ::com::sun::star::frame::XModel
                                                        ,       
::com::sun::star::util::XModifiable
                                                        ,       
::com::sun::star::frame::XStorable
                                                        ,       
::com::sun::star::view::XPrintable
@@ -220,6 +226,7 @@
                                                        ,       
::com::sun::star::util::XCloseable
                                                        ,       
::drafts::com::sun::star::ui::XUIConfigurationManagerSupplier
                                                        ,       
::com::sun::star::document::XDocumentSubStorageSupplier
+                            , ::com::sun::star::embed::XTransactionListener
                                                        >       
ODatabaseSource_OfficeDocument; 
 
 
@@ -510,6 +517,12 @@
     virtual void SAL_CALL addFlushListener( const 
::com::sun::star::uno::Reference< ::com::sun::star::util::XFlushListener >& l ) 
throw (::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL removeFlushListener( const 
::com::sun::star::uno::Reference< ::com::sun::star::util::XFlushListener >& l ) 
throw (::com::sun::star::uno::RuntimeException);
 
+// XTransactionListener
+    virtual void SAL_CALL preCommit( const 
::com::sun::star::lang::EventObject& aEvent ) throw 
(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+    virtual void SAL_CALL commited( const ::com::sun::star::lang::EventObject& 
aEvent ) throw (::com::sun::star::uno::RuntimeException);
+    virtual void SAL_CALL preRevert( const 
::com::sun::star::lang::EventObject& aEvent ) throw 
(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+    virtual void SAL_CALL reverted( const ::com::sun::star::lang::EventObject& 
aEvent ) throw (::com::sun::star::uno::RuntimeException);
+
        ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage> 
getStorage(const ::rtl::OUString& _sStorageName, sal_Int32 nMode = 
::com::sun::star::embed::ElementModes::READWRITE);
 protected:
 // helper
@@ -541,6 +554,7 @@
        void clearConnections();
        
        ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage> 
getStorage();
+    void commitStorages();
 };
 
 //........................................................................




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to