User: kz Date: 2008-03-06 18:23:47+0000 Modified: dba/dbaccess/source/ui/inc/brwctrlr.hxx
Log: 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 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.39&r2=1.40 Delta lines: +19 -21 --------------------- --- brwctrlr.hxx 2008-03-05 17:02:20+0000 1.39 +++ brwctrlr.hxx 2008-03-06 18:23:45+0000 1.40 @@ -74,7 +74,8 @@ // ========================================================================= - typedef ::cppu::ImplHelper9 < ::com::sun::star::sdb::XSQLErrorListener + typedef ::cppu::ImplInheritanceHelper9 < OGenericUnoController + , ::com::sun::star::sdb::XSQLErrorListener , ::com::sun::star::form::XDatabaseParameterListener , ::com::sun::star::form::XConfirmDeleteListener , ::com::sun::star::form::XLoadListener @@ -85,9 +86,7 @@ , ::com::sun::star::frame::XModule > SbaXDataBrowserController_Base; - class SbaXDataBrowserController - :public OGenericUnoController - ,public SbaXDataBrowserController_Base + class SbaXDataBrowserController :public SbaXDataBrowserController_Base ,public SbaGridListener { // ========== @@ -171,8 +170,6 @@ // 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 @@ 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 @@ 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 @@ // 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
