Loading...
Searching...
No Matches
MIDIDevice.hpp
1#pragma once
2#include <Device/Protocol/DeviceInterface.hpp>
3
4namespace Protocols
5{
6class MidiKeyboardEventFilter;
8{
9public:
11 const Device::DeviceSettings& settings,
12 const ossia::net::network_context_ptr& ctx);
14
15 bool reconnect() override;
16
17 void disconnect() override;
18
19 QMimeData* mimeData() const override;
20
21 using OwningDeviceInterface::refresh;
22 Device::Node refresh() override;
23
24 bool isLearning() const final override;
25 void setLearning(bool) final override;
26
27private:
28 const ossia::net::network_context_ptr& m_ctx;
29 MidiKeyboardEventFilter* m_kbdfilter{};
30};
31}
Definition DeviceInterface.hpp:185
Definition MIDIDevice.hpp:8
Definition MIDIKeyboardEventFilter.linux.hpp:15
Definition DeviceSettings.hpp:20