aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Dictionary.hh
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/qpdf/QPDF_Dictionary.hh')
-rw-r--r--libqpdf/qpdf/QPDF_Dictionary.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDF_Dictionary.hh b/libqpdf/qpdf/QPDF_Dictionary.hh
index be1c8733..3cd00c1e 100644
--- a/libqpdf/qpdf/QPDF_Dictionary.hh
+++ b/libqpdf/qpdf/QPDF_Dictionary.hh
@@ -11,8 +11,9 @@
class QPDF_Dictionary: public QPDFObject
{
public:
- QPDF_Dictionary(std::map<std::string, QPDFObjectHandle> const& items);
virtual ~QPDF_Dictionary() = default;
+ static std::shared_ptr<QPDFObject> create(std::map<std::string, QPDFObjectHandle> const& items);
+ virtual std::shared_ptr<QPDFObject> shallowCopy();
virtual std::string unparse();
virtual JSON getJSON(int json_version);
virtual QPDFObject::object_type_e getTypeCode() const;
@@ -36,6 +37,7 @@ class QPDF_Dictionary: public QPDFObject
virtual void releaseResolved();
private:
+ QPDF_Dictionary(std::map<std::string, QPDFObjectHandle> const& items);
std::map<std::string, QPDFObjectHandle> items;
};