Hello Frank,

>>class MyImpl : cppu::WeakImplHelper2<XInterface1, XInterface2> {...};
>>
>>There is no need to implement lang::XServiceInfo nor
> 
> 
> Does this mean that at runtime, if an object of this class is
> instantiated, it in fact does not support XServiceInfo? Or do your
> factories create a wrapper around the real class, which adds this interface?
> Basically, can a Basic script developer still do something like:
>   barServer = createUnoService( "com.sun.star.foo.BarServer" )
>   MsgBox barServer.ImplementationName

I wrap around, the object of course still supports lang::XServiceInfo at
runtime; I am using cppu::ImplInheritanceHelper1<ImplT,
css::lang::XserviceInfo>.

>>You can have a look at the implementation on cws dbo510 (tag
>>cws_src680_dbo510):
>>comphelper/inc/comphelper/servicedecl.hxx
>>comphelper/inc/comphelper/makesequence.hxx
>>comphelper/source/misc/servicedecl.cxx
> 
> 
> Those are good candicates for cppuhelper, IMO.

Yes, I think so.  But for now, I would stick with comphelper, because
the implementation uses boost (keep UDK/SDK free of boost stuff).

regards,
-Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to