equal
deleted
inserted
replaced
26 namespace in { |
26 namespace in { |
27 namespace jack { |
27 namespace jack { |
28 |
28 |
29 class Configuration { |
29 class Configuration { |
30 public: |
30 public: |
31 |
31 |
32 enum class PortType { |
32 class ConnectionRecipe { |
33 MIDI_INPUT, |
33 public: |
34 MIDI_OUTPUT |
34 bool connected; |
|
35 relpipe::common::type::StringX sourcePort; |
|
36 relpipe::common::type::StringX destinationPort; |
|
37 |
|
38 ConnectionRecipe(bool connected, relpipe::common::type::StringX sourcePort, relpipe::common::type::StringX destinationPort) : connected(connected), sourcePort(sourcePort), destinationPort(destinationPort) { |
|
39 } |
|
40 |
35 }; |
41 }; |
36 |
42 |
37 relpipe::common::type::StringX client = L"relpipe-in-jack"; |
43 relpipe::common::type::StringX client = L"relpipe-in-jack"; |
38 relpipe::common::type::StringX port = L"midi-in"; |
44 relpipe::common::type::StringX port = L"midi-in"; |
39 std::vector<relpipe::common::type::StringX> connectTo; |
45 std::vector<relpipe::common::type::StringX> connectTo; |
|
46 std::vector<ConnectionRecipe> connectionRecipes; |
40 int requiredConnections = 0; |
47 int requiredConnections = 0; |
41 relpipe::common::type::Boolean listPorts = false; |
48 relpipe::common::type::Boolean listPorts = false; |
42 relpipe::common::type::Boolean listConnections = false; |
49 relpipe::common::type::Boolean listConnections = false; |
43 relpipe::common::type::Boolean listMidiMessages = true; |
50 relpipe::common::type::Boolean listMidiMessages = true; |
44 |
51 |