Convenience macro do use Extension interfaces

Andreas Pakulat apaku at gmx.de
Wed Feb 14 23:17:27 UTC 2007


On 14.02.07 00:03:43, David Nolden wrote:
> Am Samstag, 10. Februar 2007 01:10 schrieb Andreas Pakulat:
> > this goes to all C++/CPP guru's that read this list.
> >
> > We need a convenience macro to implement the
> > register/unregisterExtensions however there's a slight problem: One
> > plugin can implement multiple interfaces, so we need something that
> > generates the functions during compile time from a list of interfaces.
> > Also we need to generate a proper factory for each interface the plugin
> > implements.
> >
> > See the KDEV_ADD_EXTENSION_INTERFACE and KDEV_USE_EXTENSION_INTERFACE
> > macros in iplugin.h to get an idea what code should be generated from
> > the macro.
> >
> > Hope somebody has a good idea, Matt threw the C++ Typelists into the
> > room...
> >
> > Andreas
> 
> I've worked with such things a lot for my teamwork-plugin, and know it quite 
> good.
> 
> I can help you, if you exactly tell me what there is to do. :)

Hehe, this is just a note that I will provide more detailed information
tomorrow or friday. I just don't have time to write this down atm.

Andreas

-- 
Is this really happening?




More information about the KDevelop-devel mailing list