-
Notifications
You must be signed in to change notification settings - Fork 0
/
score_addon_onnx.hpp
33 lines (28 loc) · 1.11 KB
/
score_addon_onnx.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_onnx final
: public score::Plugin_QtInterface
, public score::FactoryInterface_QtInterface
, public score::CommandFactory_QtInterface
{
SCORE_PLUGIN_METADATA(1, "993b0d0f-dc5c-410a-ac3c-17edc791fde0")
public:
score_addon_onnx();
~score_addon_onnx() override;
private:
std::vector<score::InterfaceBase*> factories(
const score::ApplicationContext& ctx,
const score::InterfaceKey& key) const override;
std::pair<const CommandGroupKey, CommandGeneratorMap>
make_commands() override;
};