summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/brwctrlr.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 16:02:20 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 16:02:20 +0000
commit5ed42bfa9364f8d02007cb7e9e74eab7b7be5698 (patch)
tree416358a6b89ff481e495c7e5af8b12f63f9c5fcd /dbaccess/source/ui/inc/brwctrlr.hxx
parent83a4b873631704f6691abef17838ad071afde8e8 (diff)
INTEGRATION: CWS dba30a (1.38.116); FILE MERGED
2008/02/05 21:38:28 fs 1.38.116.1: #i85879# cleanup the toolbar mess in the data source browser
Diffstat (limited to 'dbaccess/source/ui/inc/brwctrlr.hxx')
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx70
1 files changed, 17 insertions, 53 deletions
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index 01cf4fb12eca..fe65bf7d7363 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.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: rt $ $Date: 2007-07-06 08:26:49 $
+ * last change: $Author: kz $ $Date: 2008-03-05 17:02:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,75 +36,35 @@
#ifndef _SBA_BWRCTRLR_HXX
#define _SBA_BWRCTRLR_HXX
-#ifndef DBAUI_GENERICCONTROLLER_HXX
#include "genericcontroller.hxx"
-#endif
-#ifndef _SBX_BRWVIEW_HXX
+#include "moduledbu.hxx"
#include "brwview.hxx"
-#endif
-#ifndef _SBA_GRID_HXX
#include "sbagrid.hxx"
-#endif
-#ifndef _COM_SUN_STAR_FORM_XLOADABLE_HPP_
+
+/** === begin UNO includes === **/
#include <com/sun/star/form/XLoadable.hpp>
-#endif
-#ifndef _COM_SUN_STAR_CONTAINER_XCONTAINERLISTENER_HPP_
#include <com/sun/star/container/XContainerListener.hpp>
-#endif
-#ifndef _COM_SUN_STAR_SDBC_XSQLERRORLISTENER_HPP_
#include <com/sun/star/sdb/XSQLErrorListener.hpp>
-#endif
-#ifndef _COM_SUN_STAR_SDBC_XROWSET_HPP_
#include <com/sun/star/sdbc/XRowSet.hpp>
-#endif
-#ifndef _COM_SUN_STAR_FORM_XRESETLISTENER_HPP_
#include <com/sun/star/form/XResetListener.hpp>
-#endif
-#ifndef _COM_SUN_STAR_FORM_XDATABASEPARAMETERLISTENER_HPP_
#include <com/sun/star/form/XDatabaseParameterListener.hpp>
-#endif
-#ifndef _COM_SUN_STAR_FORM_XCONFIRMDELETELISTENER_HPP_
#include <com/sun/star/form/XConfirmDeleteListener.hpp>
-#endif
-#ifndef _COM_SUN_STAR_FORM_XFORMCOMPONENT_HPP_
#include <com/sun/star/form/XFormComponent.hpp>
-#endif
-#ifndef _COM_SUN_STAR_AWT_XFOCUSLISTENER_HPP_
#include <com/sun/star/awt/XFocusListener.hpp>
-#endif
-#ifndef _COM_SUN_STAR_SDBCX_XCOLUMNSSUPPLIER_HPP_
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
-#endif
-#ifndef _COM_SUN_STAR_SDB_XSINGLESELECTQUERYCOMPOSER_HPP_
#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp>
-#endif
-#ifndef _COM_SUN_STAR_BEANS_XPROPERTYCHANGELISTENER_HPP_
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
-#endif
-#ifndef _SV_TIMER_HXX
+#include <com/sun/star/frame/XModule.hpp>
+/** === end UNO includes === **/
+
#include <vcl/timer.hxx>
-#endif
-#ifndef _TRANSFER_HXX
#include <svtools/transfer.hxx>
-#endif
-#ifndef _OSL_MUTEX_HXX_
#include <osl/mutex.hxx>
-#endif
-#ifndef _VOS_THREAD_HXX_
#include <vos/thread.hxx>
-#endif
-#ifndef _SFXCANCEL_HXX
#include <svtools/cancel.hxx>
-#endif
-#ifndef _CPPUHELPER_IMPLBASE8_HXX_
-#include <cppuhelper/implbase8.hxx>
-#endif
-#ifndef _CLIPLISTENER_HXX
+#include <cppuhelper/implbase9.hxx>
#include <svtools/cliplistener.hxx>
-#endif
-#ifndef _DBAUI_MODULE_DBU_HXX_
-#include "moduledbu.hxx"
-#endif
+
class ResMgr;
struct FmFoundRecordInformation;
struct FmSearchContext;
@@ -114,7 +74,7 @@ namespace dbaui
// =========================================================================
- typedef ::cppu::ImplHelper8 < ::com::sun::star::sdb::XSQLErrorListener
+ typedef ::cppu::ImplHelper9 < ::com::sun::star::sdb::XSQLErrorListener
, ::com::sun::star::form::XDatabaseParameterListener
, ::com::sun::star::form::XConfirmDeleteListener
, ::com::sun::star::form::XLoadListener
@@ -122,6 +82,7 @@ namespace dbaui
, ::com::sun::star::awt::XFocusListener
, ::com::sun::star::container::XContainerListener
, ::com::sun::star::beans::XPropertyChangeListener
+ , ::com::sun::star::frame::XModule
> SbaXDataBrowserController_Base;
class SbaXDataBrowserController
@@ -157,6 +118,7 @@ namespace dbaui
String m_sStateSaveRecord;
String m_sStateUndoRecord;
+ ::rtl::OUString m_sModuleIdentifier;
// members for asynchronous load operations
::vos::OThread* m_pLoadThread; // the thread wherein the form is loaded
@@ -230,6 +192,10 @@ namespace dbaui
// XPropertyChangeListener
virtual void SAL_CALL propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw (::com::sun::star::uno::RuntimeException);
+ // XModule
+ virtual void SAL_CALL setIdentifier( const ::rtl::OUString& Identifier ) throw (::com::sun::star::uno::RuntimeException);
+ virtual ::rtl::OUString SAL_CALL getIdentifier( ) throw (::com::sun::star::uno::RuntimeException);
+
// ::com::sun::star::awt::XFocusListener
virtual void SAL_CALL focusGained(const ::com::sun::star::awt::FocusEvent& e) throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL focusLost(const ::com::sun::star::awt::FocusEvent& e) throw( ::com::sun::star::uno::RuntimeException );
@@ -347,8 +313,6 @@ namespace dbaui
virtual sal_Bool SaveModified(sal_Bool bAskFor = sal_True);
// save the modified record
- virtual void onLoadedMenu(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager >& _xLayoutManager);
-
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > getBoundField(sal_uInt16 nViewPos = (sal_uInt16)-1) const;
// a PropertySet corresponding to the cursor field a column is bound to
// if nViewPos is (sal_uInt16)-1 (the default) then the field for the current column will be retrieved