diff data/fileio/BZipFileDevice.h @ 207:8ee6cf529c4e

* Further fix for restoring layer visibility from session file * Better handling of error state in bzip file device to avoid spurious errors * Fix #1495001 deleted layers prevail in saved session file
author Chris Cannam
date Fri, 05 Jan 2007 15:49:10 +0000
parents 1a42221a1522
children b3cb0edc25cd
line wrap: on
line diff
--- a/data/fileio/BZipFileDevice.h	Fri Jan 05 14:46:45 2007 +0000
+++ b/data/fileio/BZipFileDevice.h	Fri Jan 05 15:49:10 2007 +0000
@@ -31,6 +31,8 @@
     virtual bool open(OpenMode mode);
     virtual void close();
 
+    virtual bool isOK() const;
+
     virtual bool isSequential() const { return true; }
 
 protected:
@@ -42,6 +44,7 @@
     FILE *m_file;
     BZFILE *m_bzFile;
     bool m_atEnd;
+    bool m_ok;
 };
 
 #endif