Commit 5db39a681a2cc9caf3abf52687478b9a9c9ac8fc

Authored by Jay Berkenbilt
1 parent c852af2a

Windows fixes

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