diff options
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) +    {} +}; | 
