diff options
Diffstat (limited to 'include/qpdf/QPDFObject.hh')
-rw-r--r-- | include/qpdf/QPDFObject.hh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/qpdf/QPDFObject.hh b/include/qpdf/QPDFObject.hh index da54c027..9878804b 100644 --- a/include/qpdf/QPDFObject.hh +++ b/include/qpdf/QPDFObject.hh @@ -1,4 +1,4 @@ -// Copyright (c) 2005-2018 Jay Berkenbilt +// Copyright (c) 2005-2019 Jay Berkenbilt // // This file is part of qpdf. // @@ -19,11 +19,12 @@ // continue to consider qpdf to be licensed under those terms. Please // see the manual for additional information. -#ifndef __QPDFOBJECT_HH__ -#define __QPDFOBJECT_HH__ +#ifndef QPDFOBJECT_HH +#define QPDFOBJECT_HH #include <qpdf/DLL.h> #include <qpdf/PointerHolder.hh> +#include <qpdf/JSON.hh> #include <string> @@ -62,6 +63,7 @@ class QPDFObject virtual ~QPDFObject() {} virtual std::string unparse() = 0; + virtual JSON getJSON() = 0; // Return a unique type code for the object virtual object_type_e getTypeCode() const = 0; @@ -100,6 +102,7 @@ class QPDFObject { friend class QPDFObject; public: + QPDF_DLL ~Members(); private: Members(); @@ -109,4 +112,4 @@ class QPDFObject PointerHolder<Members> m; }; -#endif // __QPDFOBJECT_HH__ +#endif // QPDFOBJECT_HH |