From e3a6b672529606cc999c2f596b4661122f8cb568 Mon Sep 17 00:00:00 2001 From: gt Date: Thu, 1 Nov 2001 11:17:06 +0000 Subject: #93478# restore ViewData by passing as Property for dispatch --- sfx2/source/appl/helpinterceptor.hxx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'sfx2/source/appl/helpinterceptor.hxx') diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx index 7db0cc4e2150..9096b3830a0d 100644 --- a/sfx2/source/appl/helpinterceptor.hxx +++ b/sfx2/source/appl/helpinterceptor.hxx @@ -2,9 +2,9 @@ * * $RCSfile: helpinterceptor.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: pb $ $Date: 2001-10-17 10:59:32 $ + * last change: $Author: gt $ $Date: 2001-11-01 12:17:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,6 +64,9 @@ #ifndef _CPPUHELPER_IMPLBASE2_HXX_ #include #endif +#ifndef _COM_SUN_STAR_FRAME_XCONTROLLER_HPP_ +#include +#endif #ifndef _COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTOR_HPP_ #include #endif @@ -94,12 +97,18 @@ #ifndef _LINK_HXX #include #endif +#ifndef _SV_TIMER_HXX +#include +#endif + struct HelpHistoryEntry_Impl { - String aURL; + String aURL; + ::com::sun::star::uno::Any aViewData; HelpHistoryEntry_Impl( const String& rURL ) : aURL( rURL ) {} + HelpHistoryEntry_Impl( const String& rURL, const ::com::sun::star::uno::Any& rViewData ) : aURL( rURL ), aViewData( rViewData ) {} }; DECLARE_LIST(HelpHistoryList_Impl,HelpHistoryEntry_Impl*); @@ -131,8 +140,9 @@ friend class HelpDispatch_Impl; ULONG m_nCurPos; String m_aCurrentURL; + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > + getController() const throw( ::com::sun::star::uno::RuntimeException ); void addURL( const String& rURL ); - public: HelpInterceptor_Impl(); ~HelpInterceptor_Impl(); -- cgit