aacid created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. aacid requested review of this revision.
REVISION SUMMARY Does the same as K_PLUGIN_FACTORY_WITH_JSON but saves you typing the class name twice. If you look at lxr.kde.org you can see our codebase is full of stuff like K_PLUGIN_FACTORY_WITH_JSON(NinjaBuilderFactory, "kdevninja.json", registerPlugin<NinjaBuilder>(); ) where we repeat NinjaBuilder twice, so add a nice macro so that we only have to write it once REPOSITORY R244 KCoreAddons BRANCH master REVISION DETAIL https://phabricator.kde.org/D10333 AFFECTED FILES src/lib/plugin/kpluginfactory.h To: aacid Cc: #frameworks, michaelh, ngraham