ctkPluginFramework.h 396 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef CTKPLUGINFRAMEWORK_H
  2. #define CTKPLUGINFRAMEWORK_H
  3. #include "ctkPlugin.h"
  4. #include "ctkPluginRepository_p.h"
  5. namespace ctk {
  6. class PluginFramework
  7. {
  8. public:
  9. void launch();
  10. void shutdown();
  11. protected:
  12. bool active;
  13. PluginRepository plugins;
  14. ServiceRegistry serviceRegistry;
  15. InternalSystemPlugin systemPlugin;
  16. };
  17. }
  18. #endif // CTKPLUGINFRAMEWORK_H