[PATCH] EasyHack, fdo#46808, Adapt UNO services to new style, Parts 2 through 5
Michael Stahl
mstahl at redhat.com
Mon Apr 2 07:15:02 PDT 2012
On 28/03/12 12:11, Stephan Bergmann wrote:
> * CTORS accessible.AccessBridge: This service being of interface type
> XInitialization looks strange. (XInitialization is more of an internal
> interface, so that instances of such a service can obtain arguments when
> being constructed. Explicit constructors of new-style services
> internally call it.)
i wonder, this XInitialization always seemed to be like some backward
compatibility kludge, would it be possible to get rid of this for LO4
and pass the arguments to the C++ ctor of the implementing class
directly or at least a static factory method or something like that, or
is there some reason why that wouldn't work?
> * MODULE: These services are not intended to be instantiated at the
> global component context/service manager, but rather via
> document-specific factories. (Some that I labelled MODULE might
> actually be MARKER -- I did not look too close.)
but it would actually be possible use a hypothetical document-specific
component context to construct these. which currently does not exist
for any application, so maybe it doesn't make sense to expose such
constructors just yet :)
More information about the LibreOffice
mailing list