diff options
author | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-23 13:13:52 (GMT) |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-23 13:13:52 (GMT) |
commit | 6bf8080516ffe50afba89f1f07f486000423bcd8 (patch) | |
tree | 79e578d99e8a0380d0c1f07700e3bee0c5c7e3be /pdf/xpdf/XRef.h | |
parent | ae5543d95470154936edb9f777d0d6c1c74a226f (diff) |
New version using Derek's merged Stream stuff,
disabled helper utils build until I sync with Derek.
Diffstat (limited to 'pdf/xpdf/XRef.h')
-rw-r--r-- | pdf/xpdf/XRef.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pdf/xpdf/XRef.h b/pdf/xpdf/XRef.h index 7ef411d..8e947e4 100644 --- a/pdf/xpdf/XRef.h +++ b/pdf/xpdf/XRef.h @@ -13,12 +13,11 @@ #pragma interface #endif -#include <stdio.h> #include "gtypes.h" #include "Object.h" class Dict; -class FileStream; +class Stream; //------------------------------------------------------------------------ // XRef @@ -34,7 +33,7 @@ class XRef { public: // Constructor. Read xref table from stream. - XRef(Stream *str); + XRef(BaseStream *str); // Destructor. ~XRef(); @@ -60,7 +59,7 @@ public: private: - Stream *str; // input file + BaseStream *str; // input stream int start; // offset in file (to allow for garbage // at beginning of file) XRefEntry *entries; // xref entries @@ -69,9 +68,9 @@ private: GBool ok; // true if xref table is valid Object trailerDict; // trailer dictionary - int readTrailer(Stream *str); - GBool readXRef(Stream *str, int *pos); - GBool constructXRef(Stream *str); + int readTrailer(); + GBool readXRef(int *pos); + GBool constructXRef(); GBool checkEncrypted(); }; |