aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Name.hh
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/qpdf/QPDF_Name.hh')
-rw-r--r--libqpdf/qpdf/QPDF_Name.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDF_Name.hh b/libqpdf/qpdf/QPDF_Name.hh
index 5ee65d02..cf653b2e 100644
--- a/libqpdf/qpdf/QPDF_Name.hh
+++ b/libqpdf/qpdf/QPDF_Name.hh
@@ -6,8 +6,9 @@
class QPDF_Name: public QPDFObject
{
public:
- QPDF_Name(std::string const& name);
virtual ~QPDF_Name() = default;
+ static std::shared_ptr<QPDFObject> create(std::string const& name);
+ virtual std::shared_ptr<QPDFObject> shallowCopy();
virtual std::string unparse();
virtual JSON getJSON(int json_version);
virtual QPDFObject::object_type_e getTypeCode() const;
@@ -18,6 +19,7 @@ class QPDF_Name: public QPDFObject
static std::string normalizeName(std::string const& name);
private:
+ QPDF_Name(std::string const& name);
std::string name;
};