diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-04 13:18:04 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-04 13:18:04 +0000 |
commit | 5288816fb666e90a7c5cd1e4c0d5708c9c94488c (patch) | |
tree | 57f3879db559bf6f28691952b2356e04a76b965c /sfx2 | |
parent | 5dd701007add940c41200bda133208ff521913a4 (diff) |
INTEGRATION: CWS titles02 (1.2.148); FILE MERGED
2007/10/12 13:09:26 as 1.2.148.1: #116375# support new title feature
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/sfxbasecontroller.hxx | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/sfx2/inc/sfx2/sfxbasecontroller.hxx b/sfx2/inc/sfx2/sfxbasecontroller.hxx index d21546f80dd3..5605672c5766 100644 --- a/sfx2/inc/sfx2/sfxbasecontroller.hxx +++ b/sfx2/inc/sfx2/sfxbasecontroller.hxx @@ -4,9 +4,9 @@ * * $RCSfile: sfxbasecontroller.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: vg $ $Date: 2007-04-11 21:28:16 $ + * last change: $Author: kz $ $Date: 2008-04-04 14:18:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -80,6 +80,14 @@ #include <com/sun/star/frame/XFrame.hpp> #endif +#ifndef _COM_SUN_STAR_FRAME_XTITLE_HPP_ +#include <com/sun/star/frame/XTitle.hpp> +#endif + +#ifndef _COM_SUN_STAR_FRAME_XTITLECHANGEBROADCASTER_HPP_ +#include <com/sun/star/frame/XTitleChangeBroadcaster.hpp> +#endif + #ifndef _COM_SUN_STAR_UTIL_URL_HPP_ #include <com/sun/star/util/URL.hpp> #endif @@ -160,6 +168,8 @@ #define XCONTEXTMENUINTERCEPTOR ::com::sun::star::ui::XContextMenuInterceptor #define XUSERINPUTINTERCEPTION ::com::sun::star::awt::XUserInputInterception #define XDISPATCHINFORMATIONPROVIDER ::com::sun::star::frame::XDispatchInformationProvider +#define XTITLE ::com::sun::star::frame::XTitle +#define XTITLECHANGEBROADCASTER ::com::sun::star::frame::XTitleChangeBroadcaster //________________________________________________________________________________________________________ // forwards @@ -201,6 +211,8 @@ class SFX2_DLLPUBLIC SfxBaseController : public XTYPEPROVIDER , public XCONTEXTMENUINTERCEPTION , public XUSERINPUTINTERCEPTION , public XDISPATCHINFORMATIONPROVIDER + , public XTITLE + , public XTITLECHANGEBROADCASTER , public IMPL_SfxBaseController_MutexContainer , public OWEAKOBJECT { @@ -551,11 +563,20 @@ public: virtual ::com::sun::star::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups() throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( sal_Int16 nCommandGroup ) throw (::com::sun::star::uno::RuntimeException); + // css::frame::XTitle + virtual ::rtl::OUString SAL_CALL getTitle( ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setTitle( const ::rtl::OUString& sTitle ) throw (::com::sun::star::uno::RuntimeException); + + // css::frame::XTitleChangeBroadcaster + virtual void SAL_CALL addTitleChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitleChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removeTitleChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitleChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); + //#if 0 // _SOLAR__PRIVATE SAL_DLLPRIVATE SfxViewShell* GetViewShell_Impl() const; SAL_DLLPRIVATE BOOL HandleEvent_Impl( NotifyEvent& rEvent ); SAL_DLLPRIVATE BOOL HasKeyListeners_Impl(); SAL_DLLPRIVATE BOOL HasMouseClickListeners_Impl(); + SAL_DLLPRIVATE ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitle > impl_getTitleHelper (); //#endif //________________________________________________________________________________________________________ |