X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=trace_file.cpp;h=2d002868920feda1d7c2d48438bd8af5e88b8351;hb=2257168033b52be3094efdbd7eadff8eb77a4c4e;hp=81b5d03c1f3f273f972f7b8b3d9db8be22f53336;hpb=d4ca4e2090572b9bf8430c9d4ece5cb9c9b6528e;p=apitrace diff --git a/trace_file.cpp b/trace_file.cpp index 81b5d03..2d00286 100644 --- a/trace_file.cpp +++ b/trace_file.cpp @@ -56,6 +56,16 @@ File::~File() close(); } + +File::Offset File::currentOffset() +{ + return File::Offset(); +} + +void File::setCurrentOffset(const File::Offset &offset) +{ +} + bool File::isZLibCompressed(const std::string &filename) { std::fstream stream(filename.c_str(), @@ -133,3 +143,14 @@ void ZLibFile::rawFlush() { gzflush(m_gzFile, Z_SYNC_FLUSH); } + + +bool ZLibFile::supportsOffsets() const +{ + return false; +} + +bool ZLibFile::rawSkip(unsigned) +{ + return false; +}