]> www.fi.muni.cz Git - evince.git/commitdiff
Added a flag for keeping Thumb data validity and the method to access it.
authorRemi Cohen-Scali <rcoscali@cvs.gnome.org>
Sun, 9 May 2004 08:33:27 +0000 (08:33 +0000)
committerRémi Cohen-Scali <rcoscali@src.gnome.org>
Sun, 9 May 2004 08:33:27 +0000 (08:33 +0000)
2004-05-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Thumb.h:
Added a flag for keeping Thumb data validity and the
method to access it.

pdf/xpdf/Thumb.h

index 2042acd3ac791b9e8c446c793ae993509f4bc454..968b0c423c6bd7e81a026598cb04e707fd745971 100644 (file)
@@ -50,12 +50,15 @@ class Thumb {
 
        unsigned char *getPixbufData();
 
+       char ok() {return ok_flag != 0; }; 
+
       private:
         XRef *xref;
        Stream *str;
        GfxImageColorMap *colorMap;
         int width, height, bits;
        int length;
+       char ok_flag; 
 };
 
 #endif