X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=pdf%2Fxpdf%2FXRef.h;h=8e947e421b527d93bef1bd56329fcdc17e6787be;hb=ae59cfdd10d16d5f360a97bf40f74e50ad998d92;hp=7ef411dddde1ded811638492682edea8e263f118;hpb=bf3b381529f5388bd1bda8ed8fafb247a7b8a9fc;p=evince.git diff --git a/pdf/xpdf/XRef.h b/pdf/xpdf/XRef.h index 7ef411dd..8e947e42 100644 --- a/pdf/xpdf/XRef.h +++ b/pdf/xpdf/XRef.h @@ -13,12 +13,11 @@ #pragma interface #endif -#include #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(); };