Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/PBMOutputDev.h
diff options
context:
space:
mode:
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>2002-09-18 20:32:18 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2002-09-18 20:32:18 (GMT)
commit7aac8dc8533347e21311b15186e0af82f1b22fd6 (patch)
tree02650bb02c8a1d8468c22f50ff151885d233016b /pdf/xpdf/PBMOutputDev.h
parentd99fb4f4acd14fcdbda968abd907547dcc7af40c (diff)
Synched with Xpdf 0.92
this adds "decryption" support testing this code after six weeks immediately gives me segfaults (image drawing) :-O must have fixed that later without knowing :-O
Diffstat (limited to 'pdf/xpdf/PBMOutputDev.h')
-rw-r--r--pdf/xpdf/PBMOutputDev.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/pdf/xpdf/PBMOutputDev.h b/pdf/xpdf/PBMOutputDev.h
index 3d235b3..5afe0d6 100644
--- a/pdf/xpdf/PBMOutputDev.h
+++ b/pdf/xpdf/PBMOutputDev.h
@@ -22,10 +22,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);
- ~PBMOutputDev();
+ static void killPBMOutputDev(PBMOutputDev *out);
+
+ virtual ~PBMOutputDev();
//----- initialization and control