From 6c6c3ba697e8feef38fa85cb9d0c088b3a8d0df5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 21 Mar 2023 17:33:41 +0100 Subject: proto/osc: add incomplete code Finishing it is just a bit more work. See: #1264 --- proto-osc/settings.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 proto-osc/settings.hpp (limited to 'proto-osc/settings.hpp') 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 +#include "options/options.hpp" + +using namespace options; + +struct osc_settings : opts +{ + value address; + value port; + osc_settings() : opts("proto-osc"), address{b, "address", "127.0.0.1"}, + port(b, "port", 53101) + {} +}; -- cgit v1.2.3