[Ekiga-devel-list] [PWLIB] There's something fishy in the plugin macros



Hi,

I noted it down for myself on the bugzilla some time ago, but never
mentioned it to anyone : http://bugzilla.gnome.org/show_bug.cgi?id=365068

Here is the description of the problem :
1) PCREATE_PLUGIN is a macro to create a plugin. Ok.
(2) It uses the macro PCREATE_PLUGIN_REGISTERER, which is a macro to create a plugin registerer. Ok.
(3) This last macro creates a static instance of a
PDevicePluginFactory<serviceType>::Worker... which is specific to *device* plugins. Not Ok!

What can be done to solve it elegantly?

Snark




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]