score_plugin_audio.hpp
1 #pragma once
2 #include <score/application/ApplicationContext.hpp>
3 #include <score/plugins/Interface.hpp>
4 #include <score/plugins/application/GUIApplicationPlugin.hpp>
5 #include <score/plugins/qt_interfaces/FactoryFamily_QtInterface.hpp>
6 #include <score/plugins/qt_interfaces/FactoryInterface_QtInterface.hpp>
7 #include <score/plugins/qt_interfaces/GUIApplicationPlugin_QtInterface.hpp>
8 #include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
9 
10 #include <vector>
11 class score_plugin_audio final
16 {
17  SCORE_PLUGIN_METADATA(1, "b29771b7-3f12-4255-af5d-4153b08e55cf")
18 public:
20  virtual ~score_plugin_audio();
21 
22 private:
24  make_guiApplicationPlugin(const score::GUIApplicationContext& app) override;
25 
26  std::vector<std::unique_ptr<score::InterfaceListBase>> factoryFamilies() override;
27 
28  // Contains the OSC, MIDI, Minuit factories
29  std::vector<score::InterfaceBase*> factories(
31  const score::InterfaceKey& factoryName) const override;
32 
33  std::vector<score::PluginKey> required() const override;
34 };
Definition: UuidKey.hpp:343
Definition: GUIApplicationPlugin_QtInterface.hpp:12
Definition: FactoryInterface_QtInterface.hpp:19
Definition: FactoryFamily_QtInterface.hpp:14
Used to extend the software with application-wide data.
Definition: GUIApplicationPlugin.hpp:89
Definition: PluginRequirements_QtInterface.hpp:18
Definition: score_plugin_audio.hpp:16
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15