xref: /haiku/src/kits/midi2/MidiRoster.cpp (revision 7120e97489acbf17d86d3f33e3b2e68974fd4b23)
1 /**
2  * @file MidiRoster.cpp
3  *
4  * @author Matthijs Hollemans
5  * @author Jerome Leveque
6  */
7 
8 #include "debug.h"
9 #include "MidiRoster.h"
10 
11 //------------------------------------------------------------------------------
12 
13 BMidiEndpoint* BMidiRoster::NextEndpoint(int32* id)
14 {
15 	UNIMPLEMENTED
16 	return NULL;
17 }
18 
19 //------------------------------------------------------------------------------
20 
21 BMidiProducer* BMidiRoster::NextProducer(int32* id)
22 {
23 	UNIMPLEMENTED
24 	return NULL;
25 }
26 
27 //------------------------------------------------------------------------------
28 
29 BMidiConsumer* BMidiRoster::NextConsumer(int32* id)
30 {
31 	UNIMPLEMENTED
32 	return NULL;
33 }
34 
35 //------------------------------------------------------------------------------
36 
37 BMidiEndpoint* BMidiRoster::FindEndpoint(int32 id, bool local_only)
38 {
39 	UNIMPLEMENTED
40 	return NULL;
41 }
42 
43 //------------------------------------------------------------------------------
44 
45 BMidiProducer* BMidiRoster::FindProducer(int32 id, bool local_only)
46 {
47 	UNIMPLEMENTED
48 	return NULL;
49 }
50 
51 //------------------------------------------------------------------------------
52 
53 BMidiConsumer* BMidiRoster::FindConsumer(int32 id, bool local_only)
54 {
55 	UNIMPLEMENTED
56 	return NULL;
57 }
58 
59 //------------------------------------------------------------------------------
60 
61 void BMidiRoster::StartWatching(const BMessenger* msngr)
62 {
63 	UNIMPLEMENTED
64 }
65 
66 //------------------------------------------------------------------------------
67 
68 void BMidiRoster::StopWatching()
69 {
70 	UNIMPLEMENTED
71 }
72 
73 //------------------------------------------------------------------------------
74 
75 status_t BMidiRoster::Register(BMidiEndpoint* object)
76 {
77 	UNIMPLEMENTED
78 	return B_ERROR;
79 }
80 
81 //------------------------------------------------------------------------------
82 
83 status_t BMidiRoster::Unregister(BMidiEndpoint* object)
84 {
85 	UNIMPLEMENTED
86 	return B_ERROR;
87 }
88 
89 //------------------------------------------------------------------------------
90 
91 BMidiRoster* BMidiRoster::MidiRoster()
92 {
93 	UNIMPLEMENTED
94 	return NULL;
95 }
96 
97 //------------------------------------------------------------------------------
98 
99 BMidiRoster::BMidiRoster(BMessenger* remote)
100 {
101 	UNIMPLEMENTED
102 }
103 
104 //------------------------------------------------------------------------------
105 
106 BMidiRoster::~BMidiRoster()
107 {
108 	UNIMPLEMENTED
109 }
110 
111 //------------------------------------------------------------------------------
112 
113 void BMidiRoster::_Reserved1() { }
114 void BMidiRoster::_Reserved2() { }
115 void BMidiRoster::_Reserved3() { }
116 void BMidiRoster::_Reserved4() { }
117 void BMidiRoster::_Reserved5() { }
118 void BMidiRoster::_Reserved6() { }
119 void BMidiRoster::_Reserved7() { }
120 void BMidiRoster::_Reserved8() { }
121 
122 //------------------------------------------------------------------------------
123 
124 status_t BMidiRoster::RemoteConnect(
125 	int32 producer, int32 consumer, int32 port)
126 {
127 	UNIMPLEMENTED
128 	return B_ERROR;
129 }
130 
131 //------------------------------------------------------------------------------
132 
133 status_t BMidiRoster::RemoteDisconnect(int32 producer, int32 consumer)
134 {
135 	UNIMPLEMENTED
136 	return B_ERROR;
137 }
138 
139 //------------------------------------------------------------------------------
140 
141 void BMidiRoster::RemoteConnected(int32 producer, int32 consumer)
142 {
143 	UNIMPLEMENTED
144 }
145 
146 //------------------------------------------------------------------------------
147 
148 void BMidiRoster::RemoteDisconnected(int32 producer, int32 consumer)
149 {
150 	UNIMPLEMENTED
151 }
152 
153 //------------------------------------------------------------------------------
154 
155 BMidiEndpoint* BMidiRoster::RemoteCreateProducer(
156 	int32 producer, const char* name)
157 {
158 	UNIMPLEMENTED
159 	return NULL;
160 }
161 
162 //------------------------------------------------------------------------------
163 
164 BMidiEndpoint* BMidiRoster::RemoteCreateConsumer(
165 	int32 consumer, const char* name, int32 port, int32 latency)
166 {
167 	UNIMPLEMENTED
168 	return NULL;
169 }
170 
171 //------------------------------------------------------------------------------
172 
173 void BMidiRoster::RemoteDelete(BMidiEndpoint* object)
174 {
175 	UNIMPLEMENTED
176 }
177 
178 //------------------------------------------------------------------------------
179 
180 void BMidiRoster::RemoteRename(
181 	BMidiEndpoint* object, const char* name)
182 {
183 	UNIMPLEMENTED
184 }
185 
186 //------------------------------------------------------------------------------
187 
188 void BMidiRoster::RemoteChangeLatency(
189 	BMidiEndpoint* object, bigtime_t latency)
190 {
191 	UNIMPLEMENTED
192 }
193 
194 //------------------------------------------------------------------------------
195 
196 status_t BMidiRoster::Remote(int32 id, int32 op)
197 {
198 	UNIMPLEMENTED
199 	return B_ERROR;
200 }
201 
202 //------------------------------------------------------------------------------
203 
204 status_t BMidiRoster::DoRemote(BMessage* msg, BMessage* result)
205 {
206 	UNIMPLEMENTED
207 	return B_ERROR;
208 }
209 
210 //------------------------------------------------------------------------------
211 
212 void BMidiRoster::Rename(BMidiEndpoint* midi, const char* name)
213 {
214 	UNIMPLEMENTED
215 }
216 
217 //------------------------------------------------------------------------------
218 
219 status_t BMidiRoster::Release(BMidiEndpoint* midi)
220 {
221 	UNIMPLEMENTED
222 	return B_ERROR;
223 }
224 
225 //------------------------------------------------------------------------------
226 
227 status_t BMidiRoster::Acquire(BMidiEndpoint* midi)
228 {
229 	UNIMPLEMENTED
230 	return B_ERROR;
231 }
232 
233 //------------------------------------------------------------------------------
234 
235 void BMidiRoster::Create(BMidiEndpoint* midi)
236 {
237 	UNIMPLEMENTED
238 }
239 
240 //------------------------------------------------------------------------------
241 
242 void BMidiRoster::SetLatency(BMidiConsumer* midi, bigtime_t latency)
243 {
244 	UNIMPLEMENTED
245 }
246 
247 //------------------------------------------------------------------------------
248 
249 status_t BMidiRoster::SetProperties(
250 	BMidiEndpoint* midi, const BMessage* props)
251 {
252 	UNIMPLEMENTED
253 	return B_ERROR;
254 }
255 
256 //------------------------------------------------------------------------------
257 
258 status_t BMidiRoster::GetProperties(
259 	const BMidiEndpoint* midi, BMessage* props)
260 {
261 	UNIMPLEMENTED
262 	return B_ERROR;
263 }
264 
265 //------------------------------------------------------------------------------
266 
267 status_t BMidiRoster::Connect(
268 	BMidiProducer* source, BMidiConsumer* sink)
269 {
270 	UNIMPLEMENTED
271 	return B_ERROR;
272 }
273 
274 //------------------------------------------------------------------------------
275 
276 status_t BMidiRoster::Disconnect(
277 	BMidiProducer* source, BMidiConsumer* sink)
278 {
279 	UNIMPLEMENTED
280 	return B_ERROR;
281 }
282 
283 //------------------------------------------------------------------------------
284 
285 BLooper* BMidiRoster::Looper()
286 {
287 	UNIMPLEMENTED
288 	return NULL;
289 }
290 
291 //------------------------------------------------------------------------------
292 
293