diff options
author | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-19 17:57:59 (GMT) |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-19 17:57:59 (GMT) |
commit | bf3b381529f5388bd1bda8ed8fafb247a7b8a9fc (patch) | |
tree | 23e95c805c1d878ba0bf90c68765aba383848139 /pdf/xpdf/XRef.h | |
parent | 1a49446c08faaab930d3a36bc002b566eadb1ebc (diff) |
Totaly re-hash stream architecture ... again :-)
Now we can compile but not run auxiliary utils.
Diffstat (limited to 'pdf/xpdf/XRef.h')
-rw-r--r-- | pdf/xpdf/XRef.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pdf/xpdf/XRef.h b/pdf/xpdf/XRef.h index e8874c7..7ef411d 100644 --- a/pdf/xpdf/XRef.h +++ b/pdf/xpdf/XRef.h @@ -16,7 +16,6 @@ #include <stdio.h> #include "gtypes.h" #include "Object.h" -#include "BaseFile.h" class Dict; class FileStream; @@ -35,7 +34,7 @@ class XRef { public: // Constructor. Read xref table from stream. - XRef(FileStream *str); + XRef(Stream *str); // Destructor. ~XRef(); @@ -61,7 +60,7 @@ public: private: - BaseFile file; // input file + Stream *str; // input file int start; // offset in file (to allow for garbage // at beginning of file) XRefEntry *entries; // xref entries @@ -70,9 +69,9 @@ private: GBool ok; // true if xref table is valid Object trailerDict; // trailer dictionary - int readTrailer(FileStream *str); - GBool readXRef(FileStream *str, int *pos); - GBool constructXRef(FileStream *str); + int readTrailer(Stream *str); + GBool readXRef(Stream *str, int *pos); + GBool constructXRef(Stream *str); GBool checkEncrypted(); }; |