Loading...
Searching...
No Matches
ListeningHandlerFactory.hpp
1#pragma once
2#include <Explorer/Listening/ListeningHandler.hpp>
3
4#include <score/plugins/Interface.hpp>
5
6#include <score_plugin_deviceexplorer_export.h>
7namespace score
8{
9struct DocumentContext;
10}
11namespace Explorer
12{
13class DeviceDocumentPlugin;
14class SCORE_PLUGIN_DEVICEEXPLORER_EXPORT ListeningHandlerFactory
16{
17 SCORE_INTERFACE(ListeningHandlerFactory, "42828393-b8de-45a6-b79f-811eea2e1a40")
18
19public:
21
22 virtual std::unique_ptr<Explorer::ListeningHandler>
23 make(const DeviceDocumentPlugin& plug, const score::DocumentContext& ctx) = 0;
24};
25}
Definition ListeningHandlerFactory.hpp:16
Base class for plug-in interfaces.
Definition Interface.hpp:52
Base toolkit upon which the software is built.
Definition Application.cpp:97
Definition DocumentContext.hpp:18