X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=pdf%2Fxpdf%2FPDFDoc.h;h=b978bc7df1ed373d8c8b9e28532ed8ce600da537;hb=a8ffd9b6d2e0d6e0fbf851b4b0fe7acec67e72c1;hp=c5a247032350f21fd7ed2e3dd673d36e8a21a76a;hpb=2610a3462d1ac3f20cba8f16dd07cba8a8c2fbef;p=evince.git diff --git a/pdf/xpdf/PDFDoc.h b/pdf/xpdf/PDFDoc.h index c5a24703..b978bc7d 100644 --- a/pdf/xpdf/PDFDoc.h +++ b/pdf/xpdf/PDFDoc.h @@ -15,9 +15,9 @@ #include #include "Link.h" -#include "BaseFile.h" class GString; +class BaseStream; class XRef; class Catalog; class OutputDev; @@ -32,7 +32,8 @@ class LinkDest; class PDFDoc { public: - PDFDoc(BaseFile file, GString *fileName1); + PDFDoc(GString *fileName1); + PDFDoc(BaseStream *str); ~PDFDoc(); // Was PDF document successfully opened? @@ -94,10 +95,13 @@ public: private: + GBool setup(); + void checkHeader(); void getLinks(int page); GString *fileName; - BaseFile file; + FILE *file; + BaseStream *str; XRef *xref; Catalog *catalog; Links *links;