On 07.02.2006 11:23, Amir Taaki wrote:
> Would I just need to inherit scfImplementation<Object>, and then do
> Object::Object() : scfImplementation<Object>(this) {} ?

Yes. To expose interfaces, you'll need to use the right
scfImplementationX<> variant of course with the interfaces to expose as
template arguments.
Actually, there is a
        typedef scfImplementationX<Object, ...> scfImplementation;
provided, so you can do:
        Object::Object() : scfImplementationType (this) {}
Spares you having to think about the exact scfImplementationFoo type,
also you don't have to change it once you add further interfaces.

-f.r.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to