score_plugin_mapping.hpp
1 #pragma once
2 #include <score/application/ApplicationContext.hpp>
3 #include <score/command/Command.hpp>
5 #include <score/plugins/Interface.hpp>
6 #include <score/plugins/qt_interfaces/CommandFactory_QtInterface.hpp>
7 #include <score/plugins/qt_interfaces/FactoryInterface_QtInterface.hpp>
8 #include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
9 
10 #include <utility>
11 #include <vector>
12 #include <verdigris>
13 
18 {
19  SCORE_PLUGIN_METADATA(1, "e097f02d-4676-492e-98b0-764963e1f792")
20 
21 public:
23  ~score_plugin_mapping() override;
24 
25 private:
26  // Process & inspector
27  std::vector<score::InterfaceBase*> factories(
28  const score::ApplicationContext& ctx,
29  const score::InterfaceKey& factoryName) const override;
30 
31  // CommandFactory_QtInterface interface
32  std::pair<const CommandGroupKey, CommandGeneratorMap> make_commands() override;
33 };
Definition: UuidKey.hpp:343
Definition: CommandFactory_QtInterface.hpp:12
Definition: FactoryInterface_QtInterface.hpp:19
Definition: PluginRequirements_QtInterface.hpp:18
Definition: score_plugin_mapping.hpp:18
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24