summaryrefslogtreecommitdiffhomepage
path: root/proto-osc/settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-21 17:33:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-07-06 17:34:18 +0200
commit6c6c3ba697e8feef38fa85cb9d0c088b3a8d0df5 (patch)
treee1ba19ba9a5406ad06a60c8fbd23c2c1008754fa /proto-osc/settings.hpp
parente0507257a41c29fa2e9ac28f36470023a72c39c6 (diff)
proto/osc: add incomplete code
Finishing it is just a bit more work. See: #1264
Diffstat (limited to 'proto-osc/settings.hpp')
-rw-r--r--proto-osc/settings.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/proto-osc/settings.hpp b/proto-osc/settings.hpp
new file mode 100644
index 00000000..edeb45c6
--- /dev/null
+++ b/proto-osc/settings.hpp
@@ -0,0 +1,14 @@
+#pragma once
+#include <QString>
+#include "options/options.hpp"
+
+using namespace options;
+
+struct osc_settings : opts
+{
+ value<QString> address;
+ value<int> port;
+ osc_settings() : opts("proto-osc"), address{b, "address", "127.0.0.1"},
+ port(b, "port", 53101)
+ {}
+};