diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-21 17:33:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-13 23:55:27 +0200 |
commit | 051fb2f94f6364b80219a3c671bb953d2e54a140 (patch) | |
tree | d76351f995884acbada1e26b5fe869daf5f4a8a1 /proto-osc/settings.hpp | |
parent | 94e7374bad0da0d9d132401bd57526b509497c7d (diff) |
proto/osc: add open sound control output method
Diffstat (limited to 'proto-osc/settings.hpp')
-rw-r--r-- | proto-osc/settings.hpp | 14 |
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) + {} +}; |