score_plugin_gfx.hpp
1 #pragma once
2 #include <score/application/ApplicationContext.hpp>
3 #include <score/command/Command.hpp>
5 #include <score/plugins/InterfaceList.hpp>
6 #include <score/plugins/qt_interfaces/CommandFactory_QtInterface.hpp>
7 #include <score/plugins/qt_interfaces/FactoryFamily_QtInterface.hpp>
8 #include <score/plugins/qt_interfaces/FactoryInterface_QtInterface.hpp>
9 #include <score/plugins/qt_interfaces/GUIApplicationPlugin_QtInterface.hpp>
10 #include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
11 
12 #include <utility>
13 #include <vector>
14 
100 namespace Gfx
101 {
102 }
103 
104 class score_plugin_gfx final
109 {
110  SCORE_PLUGIN_METADATA(1, "11f76f02-11a4-4803-858d-a744ccdc0a7e")
111 
112 public:
114  ~score_plugin_gfx() override;
115 
116 private:
118  make_guiApplicationPlugin(const score::GUIApplicationContext& app) override;
119 
120  std::vector<score::InterfaceBase*> factories(
121  const score::ApplicationContext& ctx,
122  const score::InterfaceKey& key) const override;
123 
124  std::pair<const CommandGroupKey, CommandGeneratorMap> make_commands() override;
125  std::vector<score::PluginKey> required() const override;
126 };
Definition: UuidKey.hpp:343
Definition: GUIApplicationPlugin_QtInterface.hpp:12
Definition: CommandFactory_QtInterface.hpp:12
Definition: FactoryInterface_QtInterface.hpp:19
Used to extend the software with application-wide data.
Definition: GUIApplicationPlugin.hpp:89
Definition: PluginRequirements_QtInterface.hpp:18
Definition: score_plugin_gfx.hpp:109
Binds the rendering pipeline to ossia processes.
Definition: CameraDevice.cpp:28
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15