Convenience macro do use Extension interfaces

David Nolden david.nolden.kdevelop at art-master.de
Tue Feb 13 23:03:43 UTC 2007


Am Samstag, 10. Februar 2007 01:10 schrieb Andreas Pakulat:
> Hi,
>
> 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. :)

greetings, David





More information about the KDevelop-devel mailing list