X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=pdf2swf%2Fxpdf%2FObject.h;h=8b1807c5ba52326e6d36b07043d635bbc2b00b9b;hb=c7432833fe3a6469d63fad135151a92e12877b94;hp=65d0be0d57031207dd1d1635325b28645ee2f6b1;hpb=b9ddd4a2ed601bc01ddacc69d2522687a93a94ce;p=swftools.git diff --git a/pdf2swf/xpdf/Object.h b/pdf2swf/xpdf/Object.h index 65d0be0..8b1807c 100644 --- a/pdf2swf/xpdf/Object.h +++ b/pdf2swf/xpdf/Object.h @@ -2,14 +2,16 @@ // // Object.h // -// Copyright 1996-2002 Glyph & Cog, LLC +// Copyright 1996-2003 Glyph & Cog, LLC // //======================================================================== #ifndef OBJECT_H #define OBJECT_H -#ifdef __GNUC__ +#include + +#ifdef USE_GCC_PRAGMAS #pragma interface #endif @@ -93,6 +95,7 @@ public: { initObj(objNull); return this; } Object *initArray(XRef *xref); Object *initDict(XRef *xref); + Object *initDict(Dict *dictA); Object *initStream(Stream *streamA); Object *initRef(int numA, int genA) { initObj(objRef); ref.num = numA; ref.gen = genA; return this; } @@ -152,6 +155,7 @@ public: Ref getRef() { return ref; } int getRefNum() { return ref.num; } int getRefGen() { return ref.gen; } + char *getCmd() { return cmd; } // Array accessors. int arrayGetLength();