diff options
author | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-09-18 20:32:18 (GMT) |
---|---|---|
committer | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-09-18 20:32:18 (GMT) |
commit | 7aac8dc8533347e21311b15186e0af82f1b22fd6 (patch) | |
tree | 02650bb02c8a1d8468c22f50ff151885d233016b /pdf/xpdf/Object.h | |
parent | d99fb4f4acd14fcdbda968abd907547dcc7af40c (diff) |
Synched with Xpdf 0.92
this adds "decryption" support
testing this code after six weeks immediately gives me segfaults (image drawing) :-O
must have fixed that later without knowing :-O
Diffstat (limited to 'pdf/xpdf/Object.h')
-rw-r--r-- | pdf/xpdf/Object.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf/xpdf/Object.h b/pdf/xpdf/Object.h index 789cd5f..fa4f740 100644 --- a/pdf/xpdf/Object.h +++ b/pdf/xpdf/Object.h @@ -115,6 +115,7 @@ public: void free(); // Type checking. + ObjType getType() { return type; } GBool isBool() { return type == objBool; } GBool isInt() { return type == objInt; } GBool isReal() { return type == objReal; } @@ -172,6 +173,7 @@ public: // Stream accessors. GBool streamIs(char *dictType); void streamReset(); + void streamClose(); int streamGetChar(); int streamLookChar(); char *streamGetLine(char *buf, int size); @@ -274,6 +276,9 @@ inline GBool Object::isStream(char *dictType) inline void Object::streamReset() { stream->reset(); } +inline void Object::streamClose() + { stream->close(); } + inline int Object::streamGetChar() { return stream->getChar(); } |