X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FPBMOutputDev.h;h=9d1539dfe69c58e11ef1e65bc4eef0895dd54c59;hb=884f739665dc56e66f51e104350f2affd33f2dd8;hp=3d235b309f011c70f7f83b3bd202db6fe71c1d99;hpb=d9f9a6449f377b4c933b75d57541b19c6d088994;p=evince.git diff --git a/pdf/xpdf/PBMOutputDev.h b/pdf/xpdf/PBMOutputDev.h index 3d235b30..9d1539df 100644 --- a/pdf/xpdf/PBMOutputDev.h +++ b/pdf/xpdf/PBMOutputDev.h @@ -2,14 +2,16 @@ // // PBMOutputDev.h // -// Copyright 1998 Derek B. Noonburg +// Copyright 1998-2003 Glyph & Cog, LLC // //======================================================================== #ifndef PBMOUTPUTDEV_H #define PBMOUTPUTDEV_H -#ifdef __GNUC__ +#include + +#ifdef USE_GCC_PRAGMAS #pragma interface #endif @@ -22,10 +24,16 @@ class PBMOutputDev: public XOutputDev { public: + // NB: Users must use makePBMOutputDev and killPBMOutputDev rather + // than the constructor and destructor. (This is due to some + // constraints in the underlying XOutputDev object.) + static PBMOutputDev *makePBMOutputDev(char *displayName, - char *fileRoot1); + char *fileRootA); + + static void killPBMOutputDev(PBMOutputDev *out); - ~PBMOutputDev(); + virtual ~PBMOutputDev(); //----- initialization and control @@ -37,9 +45,9 @@ public: private: - PBMOutputDev(Display *display1, int screen1, - Pixmap pixmap1, Window dummyWin1, - int invert1, char *fileRoot1); + PBMOutputDev(Display *displayA, int screenA, + Pixmap pixmapA, Window dummyWinA, + int invertA, char *fileRootA); char *fileRoot; char *fileName;