@@ -28,143 +28,143 @@ template <typename T> struct type_to_packed {};
28
28
struct empty {};
29
29
struct not_available {};
30
30
template <> struct type_to_packed <discovery> {
31
- static constexpr auto id = ci_message ::discovery;
31
+ static constexpr auto id = message ::discovery;
32
32
using v1 = packed::discovery_v1;
33
33
using v2 = packed::discovery_v2;
34
34
};
35
35
template <> struct type_to_packed <discovery_reply> {
36
- static constexpr auto id = ci_message ::discovery_reply;
36
+ static constexpr auto id = message ::discovery_reply;
37
37
using v1 = packed::discovery_reply_v1;
38
38
using v2 = packed::discovery_reply_v2;
39
39
};
40
40
template <> struct type_to_packed <endpoint_info> {
41
- static constexpr auto id = ci_message ::endpoint_info;
41
+ static constexpr auto id = message ::endpoint_info;
42
42
using v1 = packed::endpoint_info_v1;
43
43
using v2 = packed::endpoint_info_v1;
44
44
};
45
45
template <> struct type_to_packed <endpoint_info_reply> {
46
- static constexpr auto id = ci_message ::endpoint_info_reply;
46
+ static constexpr auto id = message ::endpoint_info_reply;
47
47
};
48
48
template <> struct type_to_packed <invalidate_muid> {
49
- static constexpr auto id = ci_message ::invalidate_muid;
49
+ static constexpr auto id = message ::invalidate_muid;
50
50
using v1 = packed::invalidate_muid_v1;
51
51
using v2 = packed::invalidate_muid_v1;
52
52
};
53
53
template <> struct type_to_packed <ack> {
54
- static constexpr auto id = ci_message ::ack;
54
+ static constexpr auto id = message ::ack;
55
55
};
56
56
template <> struct type_to_packed <nak> {
57
- static constexpr auto id = ci_message ::nak;
57
+ static constexpr auto id = message ::nak;
58
58
using v1 = empty;
59
59
using v2 = packed::nak_v2;
60
60
};
61
61
template <> struct type_to_packed <profile_configuration::added> {
62
- static constexpr auto id = ci_message ::profile_added;
62
+ static constexpr auto id = message ::profile_added;
63
63
using v1 = profile_configuration::packed::added_v1;
64
64
using v2 = profile_configuration::packed::added_v1;
65
65
};
66
66
template <> struct type_to_packed <profile_configuration::removed> {
67
- static constexpr auto id = ci_message ::profile_removed;
67
+ static constexpr auto id = message ::profile_removed;
68
68
using v1 = profile_configuration::packed::removed_v1;
69
69
using v2 = profile_configuration::packed::removed_v1;
70
70
};
71
71
template <> struct type_to_packed <profile_configuration::details> {
72
- static constexpr auto id = ci_message ::profile_details;
72
+ static constexpr auto id = message ::profile_details;
73
73
using v1 = profile_configuration::packed::details_v1;
74
74
using v2 = profile_configuration::packed::details_v1;
75
75
};
76
76
template <> struct type_to_packed <profile_configuration::details_reply> {
77
- static constexpr auto id = ci_message ::profile_details_reply;
77
+ static constexpr auto id = message ::profile_details_reply;
78
78
using v1 = profile_configuration::packed::details_reply_v1;
79
79
using v2 = profile_configuration::packed::details_reply_v1;
80
80
};
81
81
template <> struct type_to_packed <profile_configuration::inquiry> {
82
- static constexpr auto id = ci_message ::profile_inquiry;
82
+ static constexpr auto id = message ::profile_inquiry;
83
83
using v1 = empty;
84
84
using v2 = empty;
85
85
};
86
86
template <> struct type_to_packed <profile_configuration::inquiry_reply> {
87
- static constexpr auto id = ci_message ::profile_inquiry_reply;
87
+ static constexpr auto id = message ::profile_inquiry_reply;
88
88
};
89
89
template <> struct type_to_packed <profile_configuration::on> {
90
- static constexpr auto id = ci_message ::profile_set_on;
90
+ static constexpr auto id = message ::profile_set_on;
91
91
using v1 = profile_configuration::packed::on_v1;
92
92
using v2 = profile_configuration::packed::on_v2;
93
93
};
94
94
template <> struct type_to_packed <profile_configuration::off> {
95
- static constexpr auto id = ci_message ::profile_set_off;
95
+ static constexpr auto id = message ::profile_set_off;
96
96
using v1 = profile_configuration::packed::off_v1;
97
97
using v2 = profile_configuration::packed::off_v2;
98
98
};
99
99
template <> struct type_to_packed <profile_configuration::enabled> {
100
- static constexpr auto id = ci_message ::profile_enabled;
100
+ static constexpr auto id = message ::profile_enabled;
101
101
using v1 = profile_configuration::packed::enabled_v1;
102
102
using v2 = profile_configuration::packed::enabled_v2;
103
103
};
104
104
template <> struct type_to_packed <profile_configuration::disabled> {
105
- static constexpr auto id = ci_message ::profile_disabled;
105
+ static constexpr auto id = message ::profile_disabled;
106
106
using v1 = profile_configuration::packed::disabled_v1;
107
107
using v2 = profile_configuration::packed::disabled_v2;
108
108
};
109
109
template <> struct type_to_packed <profile_configuration::specific_data> {
110
- static constexpr auto id = ci_message ::profile_specific_data;
110
+ static constexpr auto id = message ::profile_specific_data;
111
111
using v1 = profile_configuration::packed::specific_data_v1;
112
112
using v2 = profile_configuration::packed::specific_data_v1;
113
113
};
114
114
template <> struct type_to_packed <property_exchange::capabilities> {
115
- static constexpr auto id = ci_message ::pe_capability;
115
+ static constexpr auto id = message ::pe_capability;
116
116
using v1 = property_exchange::packed::capabilities_v1;
117
117
using v2 = property_exchange::packed::capabilities_v2;
118
118
};
119
119
template <> struct type_to_packed <property_exchange::capabilities_reply> {
120
- static constexpr auto id = ci_message ::pe_capability_reply;
120
+ static constexpr auto id = message ::pe_capability_reply;
121
121
using v1 = property_exchange::packed::capabilities_reply_v1;
122
122
using v2 = property_exchange::packed::capabilities_reply_v2;
123
123
};
124
124
template <> struct type_to_packed <property_exchange::get> {
125
- static constexpr auto id = ci_message ::pe_get;
125
+ static constexpr auto id = message ::pe_get;
126
126
};
127
127
template <> struct type_to_packed <property_exchange::get_reply> {
128
- static constexpr auto id = ci_message ::pe_get_reply;
128
+ static constexpr auto id = message ::pe_get_reply;
129
129
};
130
130
template <> struct type_to_packed <property_exchange::set> {
131
- static constexpr auto id = ci_message ::pe_set;
131
+ static constexpr auto id = message ::pe_set;
132
132
};
133
133
template <> struct type_to_packed <property_exchange::set_reply> {
134
- static constexpr auto id = ci_message ::pe_set_reply;
134
+ static constexpr auto id = message ::pe_set_reply;
135
135
};
136
136
template <> struct type_to_packed <property_exchange::subscription> {
137
- static constexpr auto id = ci_message ::pe_sub;
137
+ static constexpr auto id = message ::pe_sub;
138
138
};
139
139
template <> struct type_to_packed <property_exchange::subscription_reply> {
140
- static constexpr auto id = ci_message ::pe_sub_reply;
140
+ static constexpr auto id = message ::pe_sub_reply;
141
141
};
142
142
template <> struct type_to_packed <property_exchange::notify> {
143
- static constexpr auto id = ci_message ::pe_notify;
143
+ static constexpr auto id = message ::pe_notify;
144
144
};
145
145
146
146
template <> struct type_to_packed <process_inquiry::capabilities> {
147
- static constexpr auto id = ci_message ::pi_capability;
147
+ static constexpr auto id = message ::pi_capability;
148
148
using v1 = empty;
149
149
using v2 = empty;
150
150
};
151
151
template <> struct type_to_packed <process_inquiry::capabilities_reply> {
152
- static constexpr auto id = ci_message ::pi_capability_reply;
152
+ static constexpr auto id = message ::pi_capability_reply;
153
153
using v1 = not_available;
154
154
using v2 = process_inquiry::packed::capabilities_reply_v2;
155
155
};
156
156
template <> struct type_to_packed <process_inquiry::midi_message_report> {
157
- static constexpr auto id = ci_message ::pi_mm_report;
157
+ static constexpr auto id = message ::pi_mm_report;
158
158
using v1 = not_available;
159
159
using v2 = process_inquiry::packed::midi_message_report_v2;
160
160
};
161
161
template <> struct type_to_packed <process_inquiry::midi_message_report_reply> {
162
- static constexpr auto id = ci_message ::pi_mm_report_reply;
162
+ static constexpr auto id = message ::pi_mm_report_reply;
163
163
using v1 = not_available;
164
164
using v2 = process_inquiry::packed::midi_message_report_reply_v2;
165
165
};
166
166
template <> struct type_to_packed <process_inquiry::midi_message_report_end> {
167
- static constexpr auto id = ci_message ::pi_mm_report_end;
167
+ static constexpr auto id = message ::pi_mm_report_end;
168
168
using v1 = not_available;
169
169
using v2 = empty;
170
170
};
@@ -197,7 +197,7 @@ constexpr O write_packed_with_tail(O first, S const last, std::byte const *ptr,
197
197
}
198
198
199
199
template <std::output_iterator<std::byte> O, std::sentinel_for<O> S>
200
- constexpr O write_header (O first, S const last, struct header const &h, ci_message const id) {
200
+ constexpr O write_header (O first, S const last, struct header const &h, message const id) {
201
201
auto hdr = static_cast <packed::header>(h);
202
202
hdr.sub_id_2 = static_cast <std::byte>(id);
203
203
return details::safe_copy (first, last, hdr);
@@ -214,7 +214,7 @@ constexpr O write_header_body(O first, S const last, header const &hdr, Internal
214
214
215
215
template <std::output_iterator<std::byte> O, std::sentinel_for<O> S, property_exchange::property_exchange_type Pet>
216
216
constexpr O write_pe (O first, S const last, header const &hdr, property_exchange::property_exchange<Pet> const &pe,
217
- ci_message const id) {
217
+ message const id) {
218
218
first = details::write_header (first, last, hdr, id);
219
219
220
220
using property_exchange::packed::property_exchange_pt1;
0 commit comments