Commit 5db39a681a2cc9caf3abf52687478b9a9c9ac8fc

Authored by Jay Berkenbilt
1 parent c852af2a

Windows fixes

include/qpdf/QPDFAcroFormDocumentHelper.hh
... ... @@ -83,6 +83,7 @@
83 83 class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper
84 84 {
85 85 public:
  86 + QPDF_DLL
86 87 QPDFAcroFormDocumentHelper(QPDF&);
87 88  
88 89 // This class lazily creates an internal cache of the mapping
... ... @@ -163,6 +164,7 @@ class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper
163 164 friend class QPDFAcroFormDocumentHelper;
164 165  
165 166 public:
  167 + QPDF_DLL
166 168 ~Members();
167 169  
168 170 private:
... ...
include/qpdf/QPDFAnnotationObjectHelper.hh
... ... @@ -29,6 +29,7 @@
29 29 class QPDFAnnotationObjectHelper: public QPDFObjectHelper
30 30 {
31 31 public:
  32 + QPDF_DLL
32 33 QPDFAnnotationObjectHelper(QPDFObjectHandle);
33 34  
34 35 // This class provides helper methods for certain types of
... ... @@ -73,6 +74,7 @@ class QPDFAnnotationObjectHelper: public QPDFObjectHelper
73 74 friend class QPDFPageObjectHelper;
74 75  
75 76 public:
  77 + QPDF_DLL
76 78 ~Members();
77 79  
78 80 private:
... ...
include/qpdf/QPDFDocumentHelper.hh
... ... @@ -45,6 +45,10 @@ class QPDFDocumentHelper
45 45 {
46 46 }
47 47 QPDF_DLL
  48 + virtual ~QPDFDocumentHelper()
  49 + {
  50 + }
  51 + QPDF_DLL
48 52 QPDF& getQPDF()
49 53 {
50 54 return this->qpdf;
... ...
include/qpdf/QPDFFormFieldObjectHelper.hh
... ... @@ -33,7 +33,9 @@
33 33 class QPDFFormFieldObjectHelper: public QPDFObjectHelper
34 34 {
35 35 public:
  36 + QPDF_DLL
36 37 QPDFFormFieldObjectHelper();
  38 + QPDF_DLL
37 39 QPDFFormFieldObjectHelper(QPDFObjectHandle);
38 40  
39 41 QPDF_DLL
... ... @@ -143,6 +145,7 @@ class QPDFFormFieldObjectHelper: public QPDFObjectHelper
143 145 friend class QPDFFormFieldObjectHelper;
144 146  
145 147 public:
  148 + QPDF_DLL
146 149 ~Members();
147 150  
148 151 private:
... ...
include/qpdf/QPDFObjectHelper.hh
... ... @@ -46,6 +46,10 @@ class QPDFObjectHelper
46 46 {
47 47 }
48 48 QPDF_DLL
  49 + virtual ~QPDFObjectHelper()
  50 + {
  51 + }
  52 + QPDF_DLL
49 53 QPDFObjectHandle getObjectHandle()
50 54 {
51 55 return this->oh;
... ...
include/qpdf/QPDFPageDocumentHelper.hh
... ... @@ -34,6 +34,7 @@
34 34 class QPDFPageDocumentHelper: public QPDFDocumentHelper
35 35 {
36 36 public:
  37 + QPDF_DLL
37 38 QPDFPageDocumentHelper(QPDF&);
38 39  
39 40 // Traverse page tree, and return all /Page objects wrapped in
... ... @@ -85,6 +86,7 @@ class QPDFPageDocumentHelper: public QPDFDocumentHelper
85 86 friend class QPDFPageDocumentHelper;
86 87  
87 88 public:
  89 + QPDF_DLL
88 90 ~Members();
89 91  
90 92 private:
... ...
include/qpdf/QPDFPageObjectHelper.hh
... ... @@ -32,6 +32,7 @@
32 32 class QPDFPageObjectHelper: public QPDFObjectHelper
33 33 {
34 34 public:
  35 + QPDF_DLL
35 36 QPDFPageObjectHelper(QPDFObjectHandle);
36 37  
37 38 // Returns an empty map if there are no images or no resources.
... ... @@ -141,6 +142,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper
141 142 friend class QPDFPageObjectHelper;
142 143  
143 144 public:
  145 + QPDF_DLL
144 146 ~Members();
145 147  
146 148 private:
... ...