]> git.cworth.org Git - apitrace/blobdiff - trace_file.cpp
Merge remote-tracking branch 'origin/master' into on-demand-loading
[apitrace] / trace_file.cpp
index 81b5d03c1f3f273f972f7b8b3d9db8be22f53336..2d002868920feda1d7c2d48438bd8af5e88b8351 100644 (file)
@@ -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;
+}