Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/Thumb.h
diff options
context:
space:
mode:
authorRemi Cohen-Scali <rcoscali@cvs.gnome.org>2004-05-09 07:10:50 (GMT)
committer RĂ©mi Cohen-Scali <rcoscali@src.gnome.org>2004-05-09 07:10:50 (GMT)
commita6694988ca31ee80cb484c575106e7010731e06b (patch)
tree84a10b67fcc20dcd28eec35d4aeb8ab4f75db99f /pdf/xpdf/Thumb.h
parent5c6c74b94fa5a2bc589180bafae4c2bfbeff5fde (diff)
:Thumb): Added a flag for keeping Thumb data validity and the method to
2004-05-09 Remi Cohen-Scali <rcoscali@cvs.gnome.org> * xpdf/Thumb.h: * xpdf/Thumb.cc (Thumb::Thumb): Added a flag for keeping Thumb data validity and the method to access it.
Diffstat (limited to 'pdf/xpdf/Thumb.h')
-rw-r--r--pdf/xpdf/Thumb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf/xpdf/Thumb.h b/pdf/xpdf/Thumb.h
index 2042acd..968b0c4 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