diff options
Diffstat (limited to 'pdf/xpdf/PDFDoc.h')
-rw-r--r-- | pdf/xpdf/PDFDoc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pdf/xpdf/PDFDoc.h b/pdf/xpdf/PDFDoc.h index 5e28962..c5a2470 100644 --- a/pdf/xpdf/PDFDoc.h +++ b/pdf/xpdf/PDFDoc.h @@ -15,6 +15,7 @@ #include <stdio.h> #include "Link.h" +#include "BaseFile.h" class GString; class XRef; @@ -31,7 +32,7 @@ class LinkDest; class PDFDoc { public: - PDFDoc(GString *fileName1); + PDFDoc(BaseFile file, GString *fileName1); ~PDFDoc(); // Was PDF document successfully opened? @@ -96,7 +97,7 @@ private: void getLinks(int page); GString *fileName; - FILE *file; + BaseFile file; XRef *xref; Catalog *catalog; Links *links; |