Tag: cws_src680_odbmacros2
User: fs      
Date: 2007-12-18 21:20:06+0000
Modified:
   dba/dbaccess/inc/IController.hxx

Log:
 #i49133# +getXController

File Changes:

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

File [changed]: IController.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/inc/IController.hxx?r1=1.2.98.1&r2=1.2.98.2
Delta lines:  +8 -10
--------------------
--- IController.hxx     2007-12-13 11:18:31+0000        1.2.98.1
+++ IController.hxx     2007-12-18 21:20:03+0000        1.2.98.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: IController.hxx,v $
  *
- *  $Revision: 1.2.98.1 $
+ *  $Revision: 1.2.98.2 $
  *
- *  last change: $Author: fs $ $Date: 2007/12/13 11:18:31 $
+ *  last change: $Author: fs $ $Date: 2007/12/18 21:20:03 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -52,7 +52,7 @@
            struct URL;
     }
     namespace frame {
-           class XModel;
+           class XController;
     }
 } } }
 
@@ -116,15 +116,13 @@
                */
                virtual sal_Bool isDataSourceReadOnly() const = 0;
 
-        /** provides access to the model to which the controller is currently 
associated with
+        /** provides access to the model of the controller
 
-            Note that this is not necessarily the same as the model returned 
by XController::getModel.
-            In case of controllers which do not have a dedicated own model, 
but instead implement a
-            visual sub component of another controller, the associated model 
is usually the model of that
-            other 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::XModel >
-                getAssociatedModel() const = 0;
+               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