diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-27 10:19:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-27 10:30:42 +0200 |
commit | 272f0e97b12e634cdf49a1bff45e1b9068af7d9c (patch) | |
tree | d3ba7bf2885c4d5e2285caf3bb89aaedacc08a4c /offapi/com | |
parent | cd693ff598bbabba66d8ca353a32bcbd81a5b12b (diff) |
Improvements on previous commit
* Made XGlobalEventBroadcaster inherit document::XDocumentEventBroadcaster/
Listener replacements for obsolete document::XEventBroadcaster/Listener. This
means some client sides unfortunately still need to use UNO_QUERY_THROW to
obtain the obsolete interfaces; those client sides should be cleaned up to use
the replacement interfaces instead.
* Added @since tag (even to unpublished entities, on "it doesn't hurt" grounds).
* Made client sides use XGlobalEventBroadcaster directly instead of querying for
its super-interfaces.
* Replaced new uses of comphelper::ComponentContext::getUNOContext with
comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532
"ComponentContext::getUnoContext -> getComponentContext simplification;" I
intend to get rid of comphelper/componentcontext.hxx much sooner than of
comphelper/processfactory.hxx).
Change-Id: I6d971ebdaea83d0c3fa9ba299fb6b37e58cdfe9b
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/frame/XGlobalEventBroadcaster.idl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/offapi/com/sun/star/frame/XGlobalEventBroadcaster.idl b/offapi/com/sun/star/frame/XGlobalEventBroadcaster.idl index 0f3343b654ce..c784fcc75fca 100644 --- a/offapi/com/sun/star/frame/XGlobalEventBroadcaster.idl +++ b/offapi/com/sun/star/frame/XGlobalEventBroadcaster.idl @@ -19,15 +19,17 @@ #ifndef __com_sun_star_frame_XGlobalEventBroadcaster_idl__ #define __com_sun_star_frame_XGlobalEventBroadcaster_idl__ -#include <com/sun/star/document/XEventBroadcaster.idl> -#include <com/sun/star/document/XEventsSupplier.idl> #include <com/sun/star/container/XSet.idl> +#include <com/sun/star/document/XDocumentEventBroadcaster.idl> +#include <com/sun/star/document/XDocumentEventListener.idl> +#include <com/sun/star/document/XEventsSupplier.idl> - - module com { module sun { module star { module frame { +module com { module sun { module star { module frame { /** Provides a unified interface for the GlobalEventBroadcaster service to implement. + + @since LibreOffice 3.7 */ interface XGlobalEventBroadcaster @@ -39,11 +41,11 @@ interface XGlobalEventBroadcaster /** access to bound event handlers */ - interface ::com::sun::star::document::XEventBroadcaster; + interface ::com::sun::star::document::XDocumentEventBroadcaster; interface ::com::sun::star::container::XSet; - interface ::com::sun::star::document::XEventListener; + interface ::com::sun::star::document::XDocumentEventListener; }; |