headers/bsd: Add sys/queue.h.
[haiku.git] / src / kits / media / ReaderPlugin.cpp
blob455471823edfbdfe5dccb028ed123393e19ff81f
1 /*
2 * Copyright 2009-2010, Stephan Aßmus <superstippi@gmx.de>.
3 * Distributed under the terms of the MIT License.
5 * Copyright 2004, Marcus Overhagen. All rights reserved.
6 * Distributed under the terms of the MIT License.
7 */
9 #include "ReaderPlugin.h"
11 #include <stdio.h>
14 Reader::Reader()
16 fSource(NULL),
17 fMediaPlugin(NULL)
22 Reader::~Reader()
27 status_t
28 Reader::GetMetaData(BMessage* _data)
30 return B_NOT_SUPPORTED;
34 status_t
35 Reader::Seek(void* cookie, uint32 flags, int64* frame, bigtime_t* time)
37 return B_NOT_SUPPORTED;
41 status_t
42 Reader::FindKeyFrame(void* cookie, uint32 flags, int64* frame, bigtime_t* time)
44 return B_NOT_SUPPORTED;
48 status_t
49 Reader::GetStreamMetaData(void* cookie, BMessage* _data)
51 return B_NOT_SUPPORTED;
55 BDataIO*
56 Reader::Source() const
58 return fSource;
62 void
63 Reader::Setup(BDataIO *source)
65 fSource = source;
69 status_t
70 Reader::Perform(perform_code code, void* _data)
72 return B_OK;
76 void Reader::_ReservedReader1() {}
77 void Reader::_ReservedReader2() {}
78 void Reader::_ReservedReader3() {}
79 void Reader::_ReservedReader4() {}
80 void Reader::_ReservedReader5() {}