plugin loading (was: kcmoduleinfo / Plugin linking problem)

Rafael Fernández López ereslibre at gmail.com
Sun Aug 12 14:11:18 BST 2007


Hi all,

Apart from my known opinion that this code is a bit more
"disorganized", I find the solution quite good, but I think that once
that we have more than one plugin or whatever, all of them should have
keyword.

K_PLUGIN_FACTORY(Factory,
        K_REGISTER_PLUGIN(A, MyPlugin);
        K_REGISTER_PLUGIN(C, MyOtherPlugin);
        K_REGISTER_PLUGIN_WITH_KEYWORD(A, MyPlugin, "foo");
        K_REGISTER_PLUGIN_WITH_KEYWORD(B, MyPlugin, "bar");
        )

From my point of view, probably all of them should require
K_REGISTER_PLUGIN_WITH_KEYWORD.

About the QVariantList, totally agreed.

Are there any real chances of moving this or a variation of this code
into kdelibs ?


Bye,
Rafael Fernández López.

-- 
Bye,
Rafael Fernández López.


More information about the kde-core-devel mailing list