From c25cb8a641723ab098980bb842caf75c0dc9b059 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 2 Oct 2012 15:03:12 +0200 Subject: fdo#46808, Adapt task::InteractionHandler UNO service to new style Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558 --- offapi/com/sun/star/task/InteractionHandler.idl | 31 +++++++------------------ 1 file changed, 8 insertions(+), 23 deletions(-) (limited to 'offapi/com/sun/star/task') diff --git a/offapi/com/sun/star/task/InteractionHandler.idl b/offapi/com/sun/star/task/InteractionHandler.idl index 1e603a2a3fac..524c385ce4ac 100644 --- a/offapi/com/sun/star/task/InteractionHandler.idl +++ b/offapi/com/sun/star/task/InteractionHandler.idl @@ -21,8 +21,8 @@ #define __com_sun_star_task_InteractionHandler_idl__ module com { module sun { module star { - module lang { published interface XInitialization; }; - module task { published interface XInteractionHandler; }; + module task { published interface XInteractionHandler2; }; + module awt { published interface XWindow; }; }; }; }; module com { module sun { module star { module task { @@ -147,28 +147,13 @@ module com { module sun { module star { module task { that the types you specify are general enough to cover all requests you want to handle, but also specific enough to not cover requests which other handlers might be interested in.

*/ -published service InteractionHandler +published service InteractionHandler : XInteractionHandler2 { - /** Handle an interaction request. - */ - interface com::sun::star::task::XInteractionHandler; - - /** Initialize the interaction handler. - -

The arguments must be a sequence of - PropertyValues. The - currently supported properties are: -

- */ - interface com::sun::star::lang::XInitialization; + createDefault(); + + createWithParent([in] com::sun::star::awt::XWindow parent); + + createWithParentAndContext([in] com::sun::star::awt::XWindow parent, [in] string context); }; }; }; }; }; -- cgit