D10333: Introduce K_PLUGIN_CLASS_WITH_JSON

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Feb 6 16:46:36 UTC 2018


kossebau added a comment.


  Makes sense to me to have a shorter version for the common case of just one registered plugin. Less boilerplate :)
  
  Please add a note in the API dox that this macro is for the case of just one plugin class, and link to K_PLUGIN_FACTORY_WITH_JSON for the case someone wants multiple plugins (yes, there are some use-cases for that).
  
  Please also add K_PLUGIN_CLASS_WITH_JSON (or whatever name it will be in the end) to the list KCoreAddons_AUTOMOC_MACRO_NAMES in the toplevel CMakeLists.txt.

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D10333

To: aacid
Cc: kossebau, apol, #frameworks, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180206/dc3f8a4d/attachment.html>


More information about the Kde-frameworks-devel mailing list