From: Remi Cohen-Scali Date: Sun, 9 May 2004 08:33:27 +0000 (+0000) Subject: Added a flag for keeping Thumb data validity and the method to access it. X-Git-Tag: GPDF_0_132~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=90dd0cd3d03bf98aa9e59ee8665052a93e0fec73;p=evince.git Added a flag for keeping Thumb data validity and the method to access it. 2004-05-09 Remi Cohen-Scali * xpdf/Thumb.h: Added a flag for keeping Thumb data validity and the method to access it. --- diff --git a/pdf/xpdf/Thumb.h b/pdf/xpdf/Thumb.h index 2042acd3..968b0c42 100644 --- a/pdf/xpdf/Thumb.h +++ b/pdf/xpdf/Thumb.h @@ -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