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 22 BSubscriber::BSubscriber(const char *name) 23 { 24 UNIMPLEMENTED(); 25 } 26 27 28 BSubscriber::~BSubscriber() 29 { 30 UNIMPLEMENTED(); 31 } 32 33 34 status_t 35 BSubscriber::Subscribe(BAbstractBufferStream *stream) 36 { 37 UNIMPLEMENTED(); 38 39 return B_ERROR; 40 } 41 42 43 status_t 44 BSubscriber::Unsubscribe() 45 { 46 UNIMPLEMENTED(); 47 48 return B_ERROR; 49 } 50 51 52 subscriber_id 53 BSubscriber::ID() const 54 { 55 UNIMPLEMENTED(); 56 57 return 0; 58 } 59 60 61 const char * 62 BSubscriber::Name() const 63 { 64 UNIMPLEMENTED(); 65 return NULL; 66 } 67 68 69 void 70 BSubscriber::SetTimeout(bigtime_t microseconds) 71 { 72 UNIMPLEMENTED(); 73 } 74 75 76 bigtime_t 77 BSubscriber::Timeout() const 78 { 79 UNIMPLEMENTED(); 80 81 return 0; 82 } 83 84 85 status_t 86 BSubscriber::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 99 status_t 100 BSubscriber::ExitStream(bool synch) 101 { 102 UNIMPLEMENTED(); 103 104 return B_ERROR; 105 } 106 107 108 bool 109 BSubscriber::IsInStream() const 110 { 111 UNIMPLEMENTED(); 112 113 return false; 114 } 115 116 /************************************************************* 117 * protected BSubscriber 118 *************************************************************/ 119 120 status_t 121 BSubscriber::_ProcessLoop(void *arg) 122 { 123 UNIMPLEMENTED(); 124 125 return B_ERROR; 126 } 127 128 129 status_t 130 BSubscriber::ProcessLoop() 131 { 132 UNIMPLEMENTED(); 133 134 return B_ERROR; 135 } 136 137 138 BAbstractBufferStream * 139 BSubscriber::Stream() const 140 { 141 UNIMPLEMENTED(); 142 return NULL; 143 } 144 145 /************************************************************* 146 * private BSubscriber 147 *************************************************************/ 148 149 void 150 BSubscriber::_ReservedSubscriber1() 151 { 152 UNIMPLEMENTED(); 153 } 154 155 156 void 157 BSubscriber::_ReservedSubscriber2() 158 { 159 UNIMPLEMENTED(); 160 } 161 162 163 void 164 BSubscriber::_ReservedSubscriber3() 165 { 166 UNIMPLEMENTED(); 167 } 168 169 170 #endif // __GNUC__ < 3 171