User: kz      
Date: 2008-03-06 17:54:04+0000
Modified:
   dba/dbaccess/inc/IController.hxx

Log:
 INTEGRATION: CWS odbmacros2 (1.2.98); FILE MERGED
 2007/12/18 21:20:03 fs 1.2.98.2: #i49133# +getXController
 2007/12/13 11:18:31 fs 1.2.98.1: #i49133# getAssociatedModel

File Changes:

Directory: /dba/dbaccess/inc/
=============================

File [changed]: IController.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/inc/IController.hxx?r1=1.3&r2=1.4
Delta lines:  +16 -5
--------------------
--- IController.hxx     2008-01-30 08:25:47+0000        1.3
+++ IController.hxx     2008-03-06 17:53:44+0000        1.4
@@ -47,12 +47,15 @@
 #endif
 #include "dbaccessdllapi.h"
 
-namespace com { namespace sun { namespace star { namespace util {
+namespace com { namespace sun { namespace star {
+    namespace util {
        struct URL;
-}
-}}}
+    }
+    namespace frame {
+           class XController;
+    }
+} } }
 
-class ImageList;                                                               
                   
 namespace dbaui
 {
        // interface for controller depended calls like commands
@@ -112,6 +115,14 @@
                                <TRUE/> if read only, otherwise <FALSE/>
                */
                virtual sal_Bool isDataSourceReadOnly() const = 0;
+
+        /** provides access to the model of the controller
+
+            This must be the same model as returned by XController::getModel, 
and might be <NULL/> when
+            the controller does not have an own model.
+        */
+               virtual ::com::sun::star::uno::Reference< 
::com::sun::star::frame::XController > SAL_CALL
+                getXController(void) throw( 
::com::sun::star::uno::RuntimeException ) = 0;
        };
 }
 #endif // DBAUI_ICONTROLLER_HXX




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

Reply via email to