]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/PBMOutputDev.h
Reused eog HIG dialog in GPdf.
[evince.git] / pdf / xpdf / PBMOutputDev.h
index 3d235b309f011c70f7f83b3bd202db6fe71c1d99..9d1539dfe69c58e11ef1e65bc4eef0895dd54c59 100644 (file)
@@ -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 <aconf.h>
+
+#ifdef USE_GCC_PRAGMAS
 #pragma interface
 #endif
 
 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;