upgrade to xpdf 1.01.
[swftools.git] / pdf2swf / xpdf / Parser.h
index 6e61844..c11475b 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Parser.h
 //
-// Copyright 1996 Derek B. Noonburg
+// Copyright 1996-2002 Glyph & Cog, LLC
 //
 //========================================================================
 
@@ -23,7 +23,7 @@ class Parser {
 public:
 
   // Constructor.
-  Parser(Lexer *lexer1);
+  Parser(XRef *xrefA, Lexer *lexerA);
 
   // Destructor.
   ~Parser();
@@ -31,7 +31,8 @@ public:
   // Get the next object from the input stream.
 #ifndef NO_DECRYPTION
   Object *getObj(Object *obj,
-                Guchar *fileKey = NULL, int objNum = 0, int objGen = 0);
+                Guchar *fileKey = NULL, int keyLength = 0,
+                int objNum = 0, int objGen = 0);
 #else
   Object *getObj(Object *obj);
 #endif
@@ -44,6 +45,7 @@ public:
 
 private:
 
+  XRef *xref;                  // the xref table for this PDF file
   Lexer *lexer;                        // input stream
   Object buf1, buf2;           // next two tokens
   int inlineImg;               // set when inline image data is encountered