3rdparty/licenseReport: Add seperate LGPL checks
[haiku.git] / src / kits / media / legacy / OldMediaModule.cpp
blob3d9ec9d7de53b87156848af55f21efa2d8f732aa
1 /*
2 * Copyright 2002, Marcus Overhagen. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
7 // This is deprecated API that is not even implemented - no need to export
8 // it on a GCC4 build (BeIDE needs it to run, though, so it's worthwhile for
9 // GCC2)
10 #if __GNUC__ < 3
13 #include "OldMediaModule.h"
15 #include <debug.h>
18 /*************************************************************
19 * public BMediaEvent
20 *************************************************************/
22 mk_time
23 BMediaEvent::Duration()
25 UNIMPLEMENTED();
27 return 0;
31 bigtime_t
32 BMediaEvent::CaptureTime()
34 UNIMPLEMENTED();
36 return 0;
39 /*************************************************************
40 * public BEventStream
41 *************************************************************/
43 BEventStream::BEventStream()
45 UNIMPLEMENTED();
49 BEventStream::~BEventStream()
51 UNIMPLEMENTED();
55 mk_time
56 BEventStream::Start()
58 UNIMPLEMENTED();
60 return 0;
64 void
65 BEventStream::SetStart(mk_time)
67 UNIMPLEMENTED();
71 mk_time
72 BEventStream::Duration()
74 UNIMPLEMENTED();
76 return 0;
80 void
81 BEventStream::SetDuration(mk_time)
83 UNIMPLEMENTED();
87 status_t
88 BEventStream::SeekToTime(BMediaChannel *channel,
89 mk_time time)
91 UNIMPLEMENTED();
93 return B_ERROR;
96 /*************************************************************
97 * public BMediaRenderer
98 *************************************************************/
101 BMediaRenderer::BMediaRenderer(const char *name,
102 int32 priority)
104 UNIMPLEMENTED();
108 BMediaRenderer::~BMediaRenderer()
110 UNIMPLEMENTED();
114 char *
115 BMediaRenderer::Name()
117 UNIMPLEMENTED();
118 return NULL;
122 mk_time
123 BMediaRenderer::Latency()
125 UNIMPLEMENTED();
127 return 0;
131 BTransport *
132 BMediaRenderer::Transport()
134 UNIMPLEMENTED();
135 return NULL;
139 void
140 BMediaRenderer::SetTransport(BTransport *)
142 UNIMPLEMENTED();
146 mk_time
147 BMediaRenderer::Start()
149 UNIMPLEMENTED();
151 return 0;
155 mk_time
156 BMediaRenderer::Duration()
158 UNIMPLEMENTED();
160 return 0;
164 BTimeBase *
165 BMediaRenderer::TimeBase()
167 UNIMPLEMENTED();
168 return NULL;
172 void
173 BMediaRenderer::Open()
175 UNIMPLEMENTED();
179 void
180 BMediaRenderer::Close()
182 UNIMPLEMENTED();
186 void
187 BMediaRenderer::WakeUp()
189 UNIMPLEMENTED();
193 void
194 BMediaRenderer::TransportChanged(mk_time time,
195 mk_rate rate,
196 transport_status status)
198 UNIMPLEMENTED();
202 void
203 BMediaRenderer::StreamChanged()
205 UNIMPLEMENTED();
209 void
210 BMediaRenderer::OpenReceived()
212 UNIMPLEMENTED();
216 void
217 BMediaRenderer::CloseReceived()
219 UNIMPLEMENTED();
223 void
224 BMediaRenderer::WakeUpReceived()
226 UNIMPLEMENTED();
230 void
231 BMediaRenderer::TransportChangedReceived(mk_time time,
232 mk_rate rate,
233 transport_status status)
235 UNIMPLEMENTED();
239 void
240 BMediaRenderer::StreamChangedReceived()
242 UNIMPLEMENTED();
245 /*************************************************************
246 * private BMediaRenderer
247 *************************************************************/
250 int32
251 BMediaRenderer::_LoopThread(void *arg)
253 UNIMPLEMENTED();
255 return 0;
259 void
260 BMediaRenderer::LoopThread()
262 UNIMPLEMENTED();
265 /*************************************************************
266 * public BTransport
267 *************************************************************/
270 BTransport::BTransport()
272 UNIMPLEMENTED();
276 BTransport::~BTransport()
278 UNIMPLEMENTED();
282 BTimeBase *
283 BTransport::TimeBase()
285 UNIMPLEMENTED();
286 return NULL;
290 void
291 BTransport::SetTimeBase(BTimeBase *)
293 UNIMPLEMENTED();
297 BList *
298 BTransport::Renderers()
300 UNIMPLEMENTED();
301 return NULL;
305 void
306 BTransport::AddRenderer(BMediaRenderer *)
308 UNIMPLEMENTED();
312 bool
313 BTransport::RemoveRenderer(BMediaRenderer *)
315 UNIMPLEMENTED();
317 return false;
321 transport_status
322 BTransport::Status()
324 UNIMPLEMENTED();
326 return B_TRANSPORT_STOPPED;
330 void
331 BTransport::SetStatus(transport_status)
333 UNIMPLEMENTED();
337 mk_time
338 BTransport::PerformanceTime()
340 UNIMPLEMENTED();
342 return 0;
346 mk_rate
347 BTransport::PerformanceRate()
349 UNIMPLEMENTED();
351 return 0;
355 mk_time
356 BTransport::TimeOffset()
358 UNIMPLEMENTED();
360 return 0;
364 void
365 BTransport::SetTimeOffset(mk_time)
367 UNIMPLEMENTED();
371 mk_time
372 BTransport::MaximumLatency()
374 UNIMPLEMENTED();
376 return 0;
380 mk_time
381 BTransport::PerformanceStart()
383 UNIMPLEMENTED();
385 return 0;
389 mk_time
390 BTransport::PerformanceEnd()
392 UNIMPLEMENTED();
394 return 0;
398 void
399 BTransport::Open()
401 UNIMPLEMENTED();
405 void
406 BTransport::Close()
408 UNIMPLEMENTED();
412 void
413 BTransport::TransportChanged()
415 UNIMPLEMENTED();
419 void
420 BTransport::TimeSkipped()
422 UNIMPLEMENTED();
426 void
427 BTransport::RequestWakeUp(mk_time,
428 BMediaRenderer *)
430 UNIMPLEMENTED();
434 void
435 BTransport::SeekToTime(mk_time)
437 UNIMPLEMENTED();
441 BMediaChannel *
442 BTransport::GetChannel(int32 selector)
444 UNIMPLEMENTED();
445 return NULL;
448 /*************************************************************
449 * public BTimeBase
450 *************************************************************/
453 BTimeBase::BTimeBase(mk_rate rate)
455 UNIMPLEMENTED();
459 BTimeBase::~BTimeBase()
461 UNIMPLEMENTED();
465 BList *
466 BTimeBase::Transports()
468 UNIMPLEMENTED();
469 return NULL;
473 void
474 BTimeBase::AddTransport(BTransport *)
476 UNIMPLEMENTED();
480 bool
481 BTimeBase::RemoveTransport(BTransport *)
483 UNIMPLEMENTED();
485 return false;
489 void
490 BTimeBase::TimeSkipped()
492 UNIMPLEMENTED();
496 status_t
497 BTimeBase::CallAt(mk_time time,
498 mk_deferred_call function,
499 void *arg)
501 UNIMPLEMENTED();
503 return B_ERROR;
507 mk_time
508 BTimeBase::Time()
510 UNIMPLEMENTED();
512 return 0;
516 mk_rate
517 BTimeBase::Rate()
519 UNIMPLEMENTED();
521 return 0;
525 mk_time
526 BTimeBase::TimeAt(bigtime_t system_time)
528 UNIMPLEMENTED();
530 return 0;
534 bigtime_t
535 BTimeBase::SystemTimeAt(mk_time time)
537 UNIMPLEMENTED();
539 return 0;
543 void
544 BTimeBase::Sync(mk_time time,
545 bigtime_t system_time)
547 UNIMPLEMENTED();
551 bool
552 BTimeBase::IsAbsolute()
554 UNIMPLEMENTED();
556 return false;
559 /*************************************************************
560 * private BTimeBase
561 *************************************************************/
563 int32
564 BTimeBase::_SnoozeThread(void *arg)
566 UNIMPLEMENTED();
568 return 0;
572 void
573 BTimeBase::SnoozeThread()
575 UNIMPLEMENTED();
578 /*************************************************************
579 * public BMediaChannel
580 *************************************************************/
582 BMediaChannel::BMediaChannel(mk_rate rate,
583 BMediaRenderer *renderer,
584 BEventStream *source)
586 UNIMPLEMENTED();
590 BMediaChannel::~BMediaChannel()
592 UNIMPLEMENTED();
596 BMediaRenderer *
597 BMediaChannel::Renderer()
599 UNIMPLEMENTED();
600 return NULL;
604 void
605 BMediaChannel::SetRenderer(BMediaRenderer *)
607 UNIMPLEMENTED();
611 BEventStream *
612 BMediaChannel::Source()
614 UNIMPLEMENTED();
615 return NULL;
619 void
620 BMediaChannel::SetSource(BEventStream *)
622 UNIMPLEMENTED();
626 mk_rate
627 BMediaChannel::Rate()
629 UNIMPLEMENTED();
631 return 0;
635 void
636 BMediaChannel::SetRate(mk_rate)
638 UNIMPLEMENTED();
642 bool
643 BMediaChannel::LockChannel()
645 UNIMPLEMENTED();
647 return false;
651 status_t
652 BMediaChannel::LockWithTimeout(bigtime_t)
654 UNIMPLEMENTED();
656 return B_ERROR;
660 void
661 BMediaChannel::UnlockChannel()
663 UNIMPLEMENTED();
667 void
668 BMediaChannel::StreamChanged()
670 UNIMPLEMENTED();
674 #endif // __GNUC__ < 3