aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Dictionary.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2010-08-03 00:17:01 +0200
committerJay Berkenbilt <ejb@ql.org>2010-08-03 00:17:01 +0200
commit9a06fc541ce00361f12f6231b2f7556615cbccb7 (patch)
tree858037640e94c3081e829e21c980b556de744ea5 /libqpdf/qpdf/QPDF_Dictionary.hh
parentab5a01c64ec3c8cb4f13b6846ca4ecdc7b888e14 (diff)
downloadqpdf-9a06fc541ce00361f12f6231b2f7556615cbccb7.tar.zst
ready to implement replacement stream data
git-svn-id: svn+q:///qpdf/trunk@987 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/qpdf/QPDF_Dictionary.hh')
-rw-r--r--libqpdf/qpdf/QPDF_Dictionary.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/libqpdf/qpdf/QPDF_Dictionary.hh b/libqpdf/qpdf/QPDF_Dictionary.hh
index e75de01b..e84b549e 100644
--- a/libqpdf/qpdf/QPDF_Dictionary.hh
+++ b/libqpdf/qpdf/QPDF_Dictionary.hh
@@ -26,6 +26,8 @@ class QPDF_Dictionary: public QPDFObject
void replaceKey(std::string const& key, QPDFObjectHandle const&);
// Remove key, doing nothing if key does not exist
void removeKey(std::string const& key);
+ // If object is null, replace key; otherwise, remove key
+ void replaceOrRemoveKey(std::string const& key, QPDFObjectHandle);
protected:
virtual void releaseResolved();