haiku/headers/os/codec/MediaIO.h

45 lines
912 B
C
Raw Normal View History

2016-03-26 00:44:56 +03:00
/*
* Copyright 2016 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _MEDIA_IO_H
#define _MEDIA_IO_H
#include <DataIO.h>
#include <SupportDefs.h>
enum media_io_flags {
B_MEDIA_STREAMING = 0x00000001,
B_MEDIA_MUTABLE_SIZE = 0x00000002,
B_MEDIA_SEEK_FORWARD = 0x00000004,
B_MEDIA_SEEK_BACKWARD = 0x00000008,
B_MEDIA_SEEKABLE = B_MEDIA_SEEK_BACKWARD | B_MEDIA_SEEK_FORWARD
};
2016-03-26 00:44:56 +03:00
class BMediaIO : public BPositionIO {
public:
BMediaIO();
virtual ~BMediaIO();
virtual void GetFlags(int32* flags) const = 0;
2016-03-26 00:44:56 +03:00
private:
BMediaIO(const BMediaIO&);
2016-05-16 14:59:31 +03:00
BMediaIO& operator=(const BMediaIO&);
2016-03-26 00:44:56 +03:00
virtual void _ReservedMediaIO1();
virtual void _ReservedMediaIO2();
virtual void _ReservedMediaIO3();
virtual void _ReservedMediaIO4();
virtual void _ReservedMediaIO5();
uint32 _reserved[5];
2016-03-26 00:44:56 +03:00
};
#endif // _MEDIA_IO_H