X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FObject.h;h=8b1807c5ba52326e6d36b07043d635bbc2b00b9b;hb=refs%2Ftags%2FGNOME_2_8_ANCHOR;hp=65d0be0d57031207dd1d1635325b28645ee2f6b1;hpb=2a393c134fe3fe8eb85bf818cb7ad6ae4396322a;p=evince.git diff --git a/pdf/xpdf/Object.h b/pdf/xpdf/Object.h index 65d0be0d..8b1807c5 100644 --- a/pdf/xpdf/Object.h +++ b/pdf/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();