-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscore_addon_acousmoscribe.hpp
executable file
·33 lines (27 loc) · 1.21 KB
/
score_addon_acousmoscribe.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include <score/application/ApplicationContext.hpp>
#include <score/command/Command.hpp>
#include <score/command/CommandGeneratorMap.hpp>
#include <score/plugins/InterfaceList.hpp>
#include <score/plugins/qt_interfaces/CommandFactory_QtInterface.hpp>
#include <score/plugins/qt_interfaces/FactoryFamily_QtInterface.hpp>
#include <score/plugins/qt_interfaces/FactoryInterface_QtInterface.hpp>
#include <score/plugins/qt_interfaces/GUIApplicationPlugin_QtInterface.hpp>
#include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
#include <utility>
#include <vector>
class score_addon_acousmoscribe final : public score::Plugin_QtInterface,
public score::FactoryInterface_QtInterface,
public score::CommandFactory_QtInterface
{
SCORE_PLUGIN_METADATA(1, "35f91fde-f536-4b9b-a579-89e3dd3231e6")
public:
score_addon_acousmoscribe();
~score_addon_acousmoscribe() override;
private:
std::vector<std::unique_ptr<score::InterfaceBase>> factories(
const score::ApplicationContext& ctx,
const score::InterfaceKey& key) const override;
std::pair<const CommandGroupKey, CommandGeneratorMap>
make_commands() override;
};