summaryrefslogtreecommitdiffhomepage
path: root/proto-osc/metadata.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-21 17:33:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-04-13 23:55:27 +0200
commit051fb2f94f6364b80219a3c671bb953d2e54a140 (patch)
treed76351f995884acbada1e26b5fe869daf5f4a8a1 /proto-osc/metadata.cpp
parent94e7374bad0da0d9d132401bd57526b509497c7d (diff)
proto/osc: add open sound control output method
Diffstat (limited to 'proto-osc/metadata.cpp')
-rw-r--r--proto-osc/metadata.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/proto-osc/metadata.cpp b/proto-osc/metadata.cpp
new file mode 100644
index 00000000..9d69347d
--- /dev/null
+++ b/proto-osc/metadata.cpp
@@ -0,0 +1,8 @@
+#include "metadata.hpp"
+#include "proto.hpp"
+#include "dialog.hpp"
+
+QString osc_metadata::name() { return tr("Open Sound Control"); }
+QIcon osc_metadata::icon() { return QIcon(":/images/osc-icon.png"); }
+
+OPENTRACK_DECLARE_PROTOCOL(osc_proto, osc_dialog, osc_metadata)