#ifndef REGISTRY_H #define REGISTRY_H #include #include "utils/DoricObjectFactory.h" class DoricRegistry { public: DoricObjectFactory plugins; DoricObjectFactory nodes; DoricRegistry(); template void registerNativePlugin(QString name) { plugins.registerClass(name); } template void registerViewNode(QString name) { nodes.registerClass(name); } bool acquirePluginInfo(QString name); }; #endif // REGISTRY_H