22 #ifndef MYTHFILEPLAYBACK_H 23 #define MYTHFILEPLAYBACK_H 25 #include "proto/mythprotoplayback.h" 26 #include "proto/mythprototransfer.h" 27 #include "mythstream.h" 40 bool IsOpen() {
return ProtoPlayback::IsOpen(); }
41 bool OpenTransfer(
const std::string& pathname,
const std::string& sgname);
43 bool TransferIsOpen();
46 int64_t GetSize()
const;
47 int Read(
void *buffer,
unsigned n);
48 int64_t Seek(int64_t offset, WHENCE_t whence);
49 int64_t GetPosition()
const;
52 ProtoTransferPtr m_transfer;
This is the main namespace that encloses all public classes.