upgrade to xpdf 3.00.
[swftools.git] / pdf2swf / xpdf / Array.h
index ecf2eea..20ae05f 100644 (file)
@@ -2,19 +2,23 @@
 //
 // Array.h
 //
-// Copyright 1996 Derek B. Noonburg
+// Copyright 1996-2003 Glyph & Cog, LLC
 //
 //========================================================================
 
 #ifndef ARRAY_H
 #define ARRAY_H
 
-#ifdef __GNUC__
+#include <aconf.h>
+
+#ifdef USE_GCC_PRAGMAS
 #pragma interface
 #endif
 
 #include "Object.h"
 
+class XRef;
+
 //------------------------------------------------------------------------
 // Array
 //------------------------------------------------------------------------
@@ -23,7 +27,7 @@ class Array {
 public:
 
   // Constructor.
-  Array();
+  Array(XRef *xrefA);
 
   // Destructor.
   ~Array();
@@ -44,6 +48,7 @@ public:
 
 private:
 
+  XRef *xref;                  // the xref table for this PDF file
   Object *elems;               // array of elements
   int size;                    // size of <elems> array
   int length;                  // number of elements in array