]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Thumb.h
:Thumb): Added a flag for keeping Thumb data validity and the method to
[evince.git] / 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