summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/inc/brwctrlr.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-06 17:23:45 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-06 17:23:45 +0000
commit767b26badff4106a6a5684d8fea638ef0c118954 (patch)
tree5894c148f4443de94816a2b00835d0bf5ef7e00e /dbaccess/source/ui/inc/brwctrlr.hxx
parentINTEGRATION: CWS odbmacros2 (1.38.98); FILE MERGED (diff)
downloadcore-767b26badff4106a6a5684d8fea638ef0c118954.tar.gz
core-767b26badff4106a6a5684d8fea638ef0c118954.zip
INTEGRATION: CWS odbmacros2 (1.38.98); FILE MERGED
2008/02/20 13:28:02 fs 1.38.98.3.2.1: some DBG_UNHANDLED_EXCEPTIONs 2008/02/06 08:30:58 fs 1.38.98.3: copying the fix for #i85879# into this CWS: cleanup the toolbar mess in the data source browser 2007/12/18 21:21:43 fs 1.38.98.2: #i49133# some re-factoring 2007/12/13 11:22:37 fs 1.38.98.1: #i49133# some refactoring, mostly related to the m_xCurrentFrame->m_aCurrentFrame change
Diffstat (limited to 'dbaccess/source/ui/inc/brwctrlr.hxx')
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx42
1 files changed, 20 insertions, 22 deletions
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index fe65bf7d7363..a8a4305001c4 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: brwctrlr.hxx,v $
*
- * $Revision: 1.39 $
+ * $Revision: 1.40 $
*
- * last change: $Author: kz $ $Date: 2008-03-05 17:02:20 $
+ * last change: $Author: kz $ $Date: 2008-03-06 18:23:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -74,21 +74,20 @@ namespace dbaui
// =========================================================================
- typedef ::cppu::ImplHelper9 < ::com::sun::star::sdb::XSQLErrorListener
- , ::com::sun::star::form::XDatabaseParameterListener
- , ::com::sun::star::form::XConfirmDeleteListener
- , ::com::sun::star::form::XLoadListener
- , ::com::sun::star::form::XResetListener
- , ::com::sun::star::awt::XFocusListener
- , ::com::sun::star::container::XContainerListener
- , ::com::sun::star::beans::XPropertyChangeListener
- , ::com::sun::star::frame::XModule
- > SbaXDataBrowserController_Base;
-
- class SbaXDataBrowserController
- :public OGenericUnoController
- ,public SbaXDataBrowserController_Base
- ,public SbaGridListener
+ typedef ::cppu::ImplInheritanceHelper9 < OGenericUnoController
+ , ::com::sun::star::sdb::XSQLErrorListener
+ , ::com::sun::star::form::XDatabaseParameterListener
+ , ::com::sun::star::form::XConfirmDeleteListener
+ , ::com::sun::star::form::XLoadListener
+ , ::com::sun::star::form::XResetListener
+ , ::com::sun::star::awt::XFocusListener
+ , ::com::sun::star::container::XContainerListener
+ , ::com::sun::star::beans::XPropertyChangeListener
+ , ::com::sun::star::frame::XModule
+ > SbaXDataBrowserController_Base;
+
+ class SbaXDataBrowserController :public SbaXDataBrowserController_Base
+ ,public SbaGridListener
{
// ==========
// attributes
@@ -171,8 +170,6 @@ namespace dbaui
// UNO
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL acquire( ) throw ();
- virtual void SAL_CALL release( ) throw ();
// XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw (::com::sun::star::uno::RuntimeException);
@@ -201,7 +198,6 @@ namespace dbaui
virtual void SAL_CALL focusLost(const ::com::sun::star::awt::FocusEvent& e) throw( ::com::sun::star::uno::RuntimeException );
// ::com::sun::star::frame::XController
- virtual void SAL_CALL attachFrame(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & xFrame) throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( ::com::sun::star::uno::RuntimeException );
// ::com::sun::star::lang::XComponent
@@ -241,8 +237,7 @@ namespace dbaui
protected:
virtual ~SbaXDataBrowserController();
- // --------------------
- // our own overridables
+
// all the features which should be handled by this class
virtual void describeSupportedFeatures();
// state of a feature. 'feature' may be the handle of a ::com::sun::star::util::URL somebody requested a dispatch interface for OR a toolbar slot.
@@ -250,6 +245,9 @@ namespace dbaui
// execute a feature
virtual void Execute(sal_uInt16 nId, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs);
+ virtual void startFrameListening( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame );
+ virtual void stopFrameListening( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame );
+
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet > CreateForm();
// our default implementation simply instantiates a stardiv.one.form.component.Form service
// (probably this needs not to be overloaded, but you may return anything you want as long as it