diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-01-07 22:57:58 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-01-09 13:27:29 +0000 |
commit | f3a075f97f0cb13c0e73b567fb2d25374b147cf4 (patch) | |
tree | a2041adefc9ec42df5899e80438b7964865dcefd /sfx2/inc | |
parent | eea247993c6c06cad8c6b728c9b013b2c6e86dca (diff) |
Startcenter: Refresh RecentDocsView when select 'Clear list' menu option
Change-Id: I9cbe647563699b9b610661003084d2cd16093f9a
(cherry picked from commit d930cefbe65d8b7f21100fcbf2ddcd977dd15cb1)
Reviewed-on: https://gerrit.libreoffice.org/7304
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/backingcomp.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sfx2/inc/backingcomp.hxx b/sfx2/inc/backingcomp.hxx index d4d86fe784a6..7d1b38e46949 100644 --- a/sfx2/inc/backingcomp.hxx +++ b/sfx2/inc/backingcomp.hxx @@ -30,6 +30,8 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/frame/XFrame.hpp> +#include <com/sun/star/frame/XDispatch.hpp> +#include <com/sun/star/frame/XDispatchProvider.hpp> #include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp> #include <com/sun/star/lang/XEventListener.hpp> @@ -57,6 +59,8 @@ class BackingComp : public css::lang::XTypeProvider , public css::lang::XInitialization , public css::frame::XController // => XComponent , public css::awt::XKeyListener // => XEventListener + , public css::frame::XDispatchProvider + , public css::frame::XDispatch , public ::cppu::OWeakObject { //______________________________________ @@ -119,6 +123,15 @@ class BackingComp : public css::lang::XTypeProvider virtual void SAL_CALL addEventListener ( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw(css::uno::RuntimeException); virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw(css::uno::RuntimeException); + // XDispatchProvider + virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL& aURL, const OUString& sTargetFrameName , sal_Int32 nSearchFlags ) throw( css::uno::RuntimeException ); + virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& lDescriptions ) throw( css::uno::RuntimeException ); + + // XDispatch + virtual void SAL_CALL dispatch( const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException ); + virtual void SAL_CALL addStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xListener, const css::util::URL& aURL ) throw( css::uno::RuntimeException ); + virtual void SAL_CALL removeStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xListener, const css::util::URL& aURL ) throw( css::uno::RuntimeException ); + //______________________________________ // helper |