Commit 651b51f0564d7726df09faf6ac0a0dd36e4fa65a

Authored by Jay Berkenbilt
1 parent fe769f27

Add QPDF_DLL to public destructors (fixes #220)

A few public destructors were missing QPDF_DLL, which could cause some
Windows applications to fail to link.
include/qpdf/Pl_QPDFTokenizer.hh
... ... @@ -44,11 +44,15 @@ class Pl_QPDFTokenizer: public Pipeline
44 44 // Whatever pipeline is provided as "next" will be set as the
45 45 // pipeline that the token filter writes to. If next is not
46 46 // provided, any output written by the filter will be discarded.
  47 + QPDF_DLL
47 48 Pl_QPDFTokenizer(char const* identifier,
48 49 QPDFObjectHandle::TokenFilter* filter,
49 50 Pipeline* next = 0);
  51 + QPDF_DLL
50 52 virtual ~Pl_QPDFTokenizer();
  53 + QPDF_DLL
51 54 virtual void write(unsigned char* buf, size_t len);
  55 + QPDF_DLL
52 56 virtual void finish();
53 57  
54 58 private:
... ... @@ -60,6 +64,7 @@ class Pl_QPDFTokenizer: public Pipeline
60 64 friend class Pl_QPDFTokenizer;
61 65  
62 66 public:
  67 + QPDF_DLL
63 68 ~Members();
64 69  
65 70 private:
... ...
include/qpdf/QPDF.hh
... ... @@ -1152,6 +1152,7 @@ class QPDF
1152 1152 friend class QPDF;
1153 1153  
1154 1154 public:
  1155 + QPDF_DLL
1155 1156 ~Members();
1156 1157  
1157 1158 private:
... ...
include/qpdf/QPDFObject.hh
... ... @@ -100,6 +100,7 @@ class QPDFObject
100 100 {
101 101 friend class QPDFObject;
102 102 public:
  103 + QPDF_DLL
103 104 ~Members();
104 105 private:
105 106 Members();
... ...
include/qpdf/QPDFWriter.hh
... ... @@ -530,6 +530,7 @@ class QPDFWriter
530 530 friend class QPDFWriter;
531 531  
532 532 public:
  533 + QPDF_DLL
533 534 ~Members();
534 535  
535 536 private:
... ...