fdo#46808, Adapt UNO services to the new style, Part 1-2
Written constructor for opffapi/com/sun/star/accessibility/AccessBridge.idl and rewritten to new style in offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl Signed-off-by Stephan Bergmann <sbergman@redhat.com>: * Moved offapi/com/sun/star/accessibility/AccessBridge.idl from _noheader to _nohdl, as necessary for a new-style service. * Left out changes to offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl, as that appears to never be instantiated at the global component context/service manager, but rather via some local ControlModelContainerBase::createInstance in toolkit/source/controls/controlmodelcontainerbase.cxx, so does not look like it qualifies for a new-style service. Conflicts: offapi/com/sun/star/accessibility/AccessBridge.idl Change-Id: I88dc745cddf9956c930c1216c697dd142e33c846
This commit is contained in:
committed by
Stephan Bergmann
parent
27f93b3b85
commit
f6c8220f5c
@@ -30,6 +30,9 @@ $(eval $(call gb_UnoApi_set_include,offapi,\
|
||||
))
|
||||
|
||||
|
||||
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/accessibility,\
|
||||
AccessBridge \
|
||||
))
|
||||
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/animations,\
|
||||
SequenceTimeContainer \
|
||||
TargetPropertiesCreator \
|
||||
@@ -404,7 +407,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star,\
|
||||
modules \
|
||||
))
|
||||
$(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/accessibility,\
|
||||
AccessBridge \
|
||||
Accessible \
|
||||
AccessibleContext \
|
||||
))
|
||||
|
@@ -19,9 +19,9 @@
|
||||
#ifndef __com_sun_star_accessibility_AccessBridge_idl__
|
||||
#define __com_sun_star_accessibility_AccessBridge_idl__
|
||||
|
||||
module com { module sun { module star { module lang {
|
||||
published interface XInitialization;
|
||||
}; }; }; };
|
||||
#include <com/sun/star/lang/XComponent.idl>
|
||||
#include <com/sun/star/awt/XExtendedToolkit.idl>
|
||||
|
||||
|
||||
module com { module sun { module star { module accessibility {
|
||||
|
||||
@@ -35,10 +35,9 @@ module com { module sun { module star { module accessibility {
|
||||
@since OOo 1.1.2
|
||||
*/
|
||||
|
||||
service AccessBridge
|
||||
service AccessBridge : com::sun::star::lang::XComponent
|
||||
{
|
||||
/** Expects and instance of XExtendedToolkit as first parameter */
|
||||
interface ::com::sun::star::lang::XInitialization;
|
||||
createWithToolkit([in] com::sun::star::awt::XExtendedToolkit toolkit);
|
||||
};
|
||||
|
||||
}; }; }; };
|
||||
|
Reference in New Issue
Block a user