From 90dd0cd3d03bf98aa9e59ee8665052a93e0fec73 Mon Sep 17 00:00:00 2001 From: Remi Cohen-Scali Date: Sun, 9 May 2004 08:33:27 +0000 Subject: [PATCH] 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. --- pdf/xpdf/Thumb.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.1