score_plugin_pd.hpp
1 #pragma once
2 #include <score/plugins/qt_interfaces/CommandFactory_QtInterface.hpp>
3 #include <score/plugins/qt_interfaces/FactoryInterface_QtInterface.hpp>
4 #include <score/plugins/qt_interfaces/GUIApplicationPlugin_QtInterface.hpp>
5 #include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
6 
7 #include <QObject>
8 
9 class score_plugin_pd final
14 {
15 public:
17  ~score_plugin_pd();
18 
19  std::vector<score::InterfaceBase*> factories(
20  const score::ApplicationContext& ctx,
21  const score::InterfaceKey& factoryName) const override;
22 
23  // CommandFactory_QtInterface interface
24  std::pair<const CommandGroupKey, CommandGeneratorMap> make_commands() override;
25 
26  score::Version version() const override;
27  UuidKey<score::Plugin> key() const override;
28  std::vector<score::PluginKey> required() const override;
29 };
Definition: UuidKey.hpp:343
Definition: GUIApplicationPlugin_QtInterface.hpp:12
Definition: CommandFactory_QtInterface.hpp:12
Definition: FactoryInterface_QtInterface.hpp:19
Definition: PluginRequirements_QtInterface.hpp:18
Represents the version of a plug-in.
Definition: Version.hpp:13
Definition: score_plugin_pd.hpp:14
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24