User: rt      
Date: 05/02/02 05:59:51

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

Log:
 INTEGRATION: CWS imprec01 (1.23.12); FILE MERGED
 2005/01/11 08:58:24 oj 1.23.12.1: #i39228# send document events

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.24&r2=1.25
Delta lines:  +16 -0
--------------------
--- datasource.hxx      21 Jan 2005 17:04:11 -0000      1.24
+++ datasource.hxx      2 Feb 2005 13:59:48 -0000       1.25
@@ -92,6 +92,9 @@
 #ifndef _COM_SUN_STAR_UTIL_XNUMBERFORMATTER_HPP_
 #include <com/sun/star/util/XNumberFormatter.hpp>
 #endif
+#ifndef _COM_SUN_STAR_DOCUMENT_XEVENTLISTENER_HPP_
+#include <com/sun/star/document/XEventListener.hpp>
+#endif
 #ifndef _COM_SUN_STAR_UTIL_XFLUSHABLE_HPP_
 #include <com/sun/star/util/XFlushable.hpp>
 #endif
@@ -290,6 +293,7 @@
        ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController> 
                                        m_xCurrentController;
        ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >   
                                        m_xStorage;
        ::com::sun::star::uno::Reference< 
::drafts::com::sun::star::ui::XUIConfigurationManager>        
m_xUIConfigurationManager;
+    ::com::sun::star::uno::Reference< 
::com::sun::star::document::XEventListener >              
m_xDocEventBroadcaster;
 
 
        ODatabaseContext*                                                       
                m_pDBContext;
@@ -345,6 +349,18 @@
        /** dispose all frames for registered controllers
        */
        void disposeControllerFrames();
+
+    /** notifies the global event broadcaster
+        @param  _sEventName
+            On of 
+            OnNew      => new document
+            OnLoad      => load document 
+            OnUnload   => close document 
+            OnSaveDone   => "Save" ended
+            OnSaveAsDone   => "SaveAs" ended
+            OnModifyChanged   => modified/unmodified 
+    */
+    void notifyEvent(const ::rtl::OUString& _sEventName);
 protected:
        ODatabaseSource(
                const ::com::sun::star::uno::Reference< 
::com::sun::star::lang::XMultiServiceFactory >& _rxFactory




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

Reply via email to