score_plugin_jit.hpp
1 #pragma once
2 #include <score/application/ApplicationContext.hpp>
3 #include <score/plugins/InterfaceList.hpp>
4 #include <score/plugins/qt_interfaces/CommandFactory_QtInterface.hpp>
5 #include <score/plugins/qt_interfaces/FactoryInterface_QtInterface.hpp>
6 #include <score/plugins/qt_interfaces/GUIApplicationPlugin_QtInterface.hpp>
7 #include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
8 
9 #include <QObject>
10 
11 #include <utility>
12 #include <vector>
13 
14 class score_plugin_jit final
19 {
20  SCORE_PLUGIN_METADATA(1, "3be955fe-4a09-498b-834a-25df3b7a8ca5")
21 
22 public:
24  virtual ~score_plugin_jit() override;
25 
26 private:
27  // Defined in FactoryInterface_QtInterface
28  std::vector<score::InterfaceBase*> factories(
29  const score::ApplicationContext& ctx,
30  const score::InterfaceKey& key) const override;
31 
32  // CommandFactory_QtInterface interface
33  std::pair<const CommandGroupKey, CommandGeneratorMap> make_commands() override;
34 
36  make_guiApplicationPlugin(const score::GUIApplicationContext& app) override;
37 
38  std::vector<score::PluginKey> required() const override;
39 };
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_jit.hpp:19
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15