summaryrefslogtreecommitdiff
path: root/dbaccess/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-06 16:53:44 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-06 16:53:44 +0000
commit29dbcf4f28190c2b1174ce3131b7717656c61640 (patch)
tree61530338decbb32d31b34111776feec2dd873209 /dbaccess/inc
parent65e5c88ae0a5274eb4d53e34faa332311a7aa27f (diff)
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
Diffstat (limited to 'dbaccess/inc')
-rw-r--r--dbaccess/inc/IController.hxx25
1 files changed, 18 insertions, 7 deletions
diff --git a/dbaccess/inc/IController.hxx b/dbaccess/inc/IController.hxx
index 9c0079a04860..f80399ea91bf 100644
--- a/dbaccess/inc/IController.hxx
+++ b/dbaccess/inc/IController.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: IController.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2008-01-30 08:25:47 $
+ * last change: $Author: kz $ $Date: 2008-03-06 17:53:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -47,12 +47,15 @@
#endif
#include "dbaccessdllapi.h"
-namespace com { namespace sun { namespace star { namespace util {
- struct URL;
-}
-}}}
+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 @@ namespace dbaui
<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