diff options
author | gt <gt@openoffice.org> | 2001-09-07 07:22:49 +0000 |
---|---|---|
committer | gt <gt@openoffice.org> | 2001-09-07 07:22:49 +0000 |
commit | 2d5a87913f230f89595fb108995bef6ace539854 (patch) | |
tree | 5033dcb8be562bfa4a810f362f7bc441cdf67a21 /sfx2/source/appl/helpinterceptor.hxx | |
parent | 2ec1bf24ba2ad1c031f0fba0753018136530eff7 (diff) |
#90928# enable/disable forward/backward button in dependency of the history position
Diffstat (limited to 'sfx2/source/appl/helpinterceptor.hxx')
-rw-r--r-- | sfx2/source/appl/helpinterceptor.hxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx index 14f63882987a..a3d63b171b89 100644 --- a/sfx2/source/appl/helpinterceptor.hxx +++ b/sfx2/source/appl/helpinterceptor.hxx @@ -2,9 +2,9 @@ * * $RCSfile: helpinterceptor.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: pb $ $Date: 2001-08-30 07:07:54 $ + * last change: $Author: gt $ $Date: 2001-09-07 08:22:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -105,7 +105,7 @@ struct HelpHistoryEntry_Impl DECLARE_LIST(HelpHistoryList_Impl,HelpHistoryEntry_Impl*); class OpenStatusListener_Impl; -class Window; +class SfxHelpWindow_Impl; class HelpInterceptor_Impl : public ::cppu::WeakImplHelper3< ::com::sun::star::frame::XDispatchProviderInterceptor, @@ -125,7 +125,7 @@ private: HelpHistoryList_Impl* m_pHistory; OpenStatusListener_Impl* m_pOpenListener; - Window* m_pWindow; + SfxHelpWindow_Impl* m_pWindow; ULONG m_nCurPos; String m_aCurrentURL; @@ -139,6 +139,9 @@ public: void SetStartURL( const String& rURL ); String GetCurrentURL() const { return m_aCurrentURL; } + sal_Bool HasHistoryPred() const; // is there a predecessor for the current in the history + sal_Bool HasHistorySucc() const; // is there a successor for the current in the history + // XDispatchProvider virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const ::rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException); @@ -163,7 +166,7 @@ public: virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, const ::com::sun::star::util::URL& aURL ) throw(::com::sun::star::uno::RuntimeException); // extras - void InitWaiter( OpenStatusListener_Impl* pListener, Window* pWindow ) + void InitWaiter( OpenStatusListener_Impl* pListener, SfxHelpWindow_Impl* pWindow ) { m_pOpenListener = pListener; m_pWindow = pWindow; } }; |