summaryrefslogtreecommitdiffhomepage
path: root/proto-osc/settings.hpp
blob: edeb45c6432ccd261dbf255fb7369e4c4698a4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
    {}
};