[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Convenience macro do use Extension interfaces
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2007-02-10 0:10:36
Message-ID: 20070210001036.GA27844 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]
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
--
You are dishonest, but never to the point of hurting a friend.
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic