score_plugin_ysfx.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/GUIApplicationPlugin_QtInterface.hpp>
9 #include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
10 
11 #include <utility>
12 #include <vector>
13 #include <verdigris>
14 
15 class score_plugin_ysfx final
20 {
21  SCORE_PLUGIN_METADATA(1, "482a237a-71c5-4458-92aa-a136ad846613")
22 public:
24  virtual ~score_plugin_ysfx();
25 
26 private:
27  // Process & inspector
28  std::vector<score::InterfaceBase*> factories(
29  const score::ApplicationContext& ctx,
30  const score::InterfaceKey& factoryName) const override;
31 
32  // CommandFactory_QtInterface interface
33  std::pair<const CommandGroupKey, CommandGeneratorMap> make_commands() override;
34 
36  make_applicationPlugin(const score::ApplicationContext& app) override;
37 };
Definition: UuidKey.hpp:343
Definition: GUIApplicationPlugin_QtInterface.hpp:12
Definition: GUIApplicationPlugin.hpp:31
Definition: CommandFactory_QtInterface.hpp:12
Definition: FactoryInterface_QtInterface.hpp:19
Definition: PluginRequirements_QtInterface.hpp:18
Definition: score_plugin_ysfx.hpp:20
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24