1/* 2 * Copyright 2002, Marcus Overhagen. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 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 11 12 13#include "OldSubscriber.h" 14 15#include "MediaDebug.h" 16 17 18/************************************************************* 19 * public BSubscriber 20 *************************************************************/ 21 22BSubscriber::BSubscriber(const char *name) 23{ 24 UNIMPLEMENTED(); 25} 26 27 28BSubscriber::~BSubscriber() 29{ 30 UNIMPLEMENTED(); 31} 32 33 34status_t 35BSubscriber::Subscribe(BAbstractBufferStream *stream) 36{ 37 UNIMPLEMENTED(); 38 39 return B_ERROR; 40} 41 42 43status_t 44BSubscriber::Unsubscribe() 45{ 46 UNIMPLEMENTED(); 47 48 return B_ERROR; 49} 50 51 52subscriber_id 53BSubscriber::ID() const 54{ 55 UNIMPLEMENTED(); 56 57 return 0; 58} 59 60 61const char * 62BSubscriber::Name() const 63{ 64 UNIMPLEMENTED(); 65 return NULL; 66} 67 68 69void 70BSubscriber::SetTimeout(bigtime_t microseconds) 71{ 72 UNIMPLEMENTED(); 73} 74 75 76bigtime_t 77BSubscriber::Timeout() const 78{ 79 UNIMPLEMENTED(); 80 81 return 0; 82} 83 84 85status_t 86BSubscriber::EnterStream(subscriber_id neighbor, 87 bool before, 88 void *userData, 89 enter_stream_hook entryFunction, 90 exit_stream_hook exitFunction, 91 bool background) 92{ 93 UNIMPLEMENTED(); 94 95 return B_ERROR; 96} 97 98 99status_t 100BSubscriber::ExitStream(bool synch) 101{ 102 UNIMPLEMENTED(); 103 104 return B_ERROR; 105} 106 107 108bool 109BSubscriber::IsInStream() const 110{ 111 UNIMPLEMENTED(); 112 113 return false; 114} 115 116/************************************************************* 117 * protected BSubscriber 118 *************************************************************/ 119 120status_t 121BSubscriber::_ProcessLoop(void *arg) 122{ 123 UNIMPLEMENTED(); 124 125 return B_ERROR; 126} 127 128 129status_t 130BSubscriber::ProcessLoop() 131{ 132 UNIMPLEMENTED(); 133 134 return B_ERROR; 135} 136 137 138BAbstractBufferStream * 139BSubscriber::Stream() const 140{ 141 UNIMPLEMENTED(); 142 return NULL; 143} 144 145/************************************************************* 146 * private BSubscriber 147 *************************************************************/ 148 149void 150BSubscriber::_ReservedSubscriber1() 151{ 152 UNIMPLEMENTED(); 153} 154 155 156void 157BSubscriber::_ReservedSubscriber2() 158{ 159 UNIMPLEMENTED(); 160} 161 162 163void 164BSubscriber::_ReservedSubscriber3() 165{ 166 UNIMPLEMENTED(); 167} 168 169 170#endif // __GNUC__ < 3 171