score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
OSCSpecificSettings.hpp
1
#pragma once
2
#include <ossia/detail/optional.hpp>
3
#include <ossia/protocols/osc/osc_factory.hpp>
4
5
#include <QString>
6
7
#include <verdigris>
8
9
namespace
Protocols
10
{
11
struct
OSCSpecificSettings
12
{
13
ossia::net::osc_protocol_configuration configuration;
14
std::optional<int> rate{};
15
bool
bonjour{};
16
std::optional<int> oscquery{};
17
18
// Note: this one is not saved, it is only used
19
// to allow loading a .json file as an OSC device
20
QByteArray jsonToLoad;
21
};
22
}
23
Q_DECLARE_METATYPE(
Protocols::OSCSpecificSettings
)
24
W_REGISTER_ARGTYPE(
Protocols::OSCSpecificSettings
)
Protocols::OSCSpecificSettings
Definition
OSCSpecificSettings.hpp:12