1 /* 2 * Copyright 2004, Marcus Overhagen. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 #include "ReaderPlugin.h" 7 8 #include <stdio.h> 9 10 11 Reader::Reader() 12 : 13 fSource(0), 14 fMediaPlugin(NULL) 15 { 16 } 17 18 19 Reader::~Reader() 20 { 21 } 22 23 24 status_t 25 Reader::Seek(void* cookie, uint32 flags, int64* frame, bigtime_t* time) 26 { 27 return B_NOT_SUPPORTED; 28 } 29 30 31 status_t 32 Reader::FindKeyFrame(void* cookie, uint32 flags, int64* frame, bigtime_t* time) 33 { 34 return B_NOT_SUPPORTED; 35 } 36 37 38 BDataIO* 39 Reader::Source() const 40 { 41 return fSource; 42 } 43 44 45 void 46 Reader::Setup(BDataIO *source) 47 { 48 fSource = source; 49 } 50 51 52 status_t 53 Reader::Perform(perform_code code, void* _data) 54 { 55 return B_OK; 56 } 57 58 void Reader::_ReservedReader1() {} 59 void Reader::_ReservedReader2() {} 60 void Reader::_ReservedReader3() {} 61 void Reader::_ReservedReader4() {} 62 void Reader::_ReservedReader5() {} 63 64