User: kz Date: 2008-03-05 17:02:23+0000 Modified: dba/dbaccess/source/ui/inc/brwctrlr.hxx
Log: 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 File Changes: Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: brwctrlr.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/brwctrlr.hxx?r1=1.38&r2=1.39 Delta lines: +15 -51 --------------------- --- brwctrlr.hxx 2007-07-06 08:26:49+0000 1.38 +++ brwctrlr.hxx 2008-03-05 17:02:20+0000 1.39 @@ -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 @@ // ========================================================================= - 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 @@ , ::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 @@ 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 @@ // 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 @@ 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
