diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-09-08 14:00:37 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-09-08 16:19:38 +0200 |
commit | a615985865ca73249a7b21e2f28b440cb6c16636 (patch) | |
tree | 7ae20d30bdaa3e2bdef6d5a28e126d763ee8976b /include/qpdf | |
parent | 9dcd25a06eae4787332cb808a100b338887c9426 (diff) | |
download | qpdf-a615985865ca73249a7b21e2f28b440cb6c16636.tar.zst |
Update QPDFObject with comment
Also, since it's just there for compatibility, we don't need to add
new object types to it.
Diffstat (limited to 'include/qpdf')
-rw-r--r-- | include/qpdf/QPDFObject.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/qpdf/QPDFObject.hh b/include/qpdf/QPDFObject.hh index 8d982775..619f27f6 100644 --- a/include/qpdf/QPDFObject.hh +++ b/include/qpdf/QPDFObject.hh @@ -22,6 +22,12 @@ #ifndef QPDFOBJECT_HH #define QPDFOBJECT_HH +// ABI: in qpdf 12, leave this file in place and have it generate an +// error. This is to prevent someone from being able to successfully +// include this file and get a copy from a previous installation +// thereby accidentally creating sources depend on having an older +// version installed. + #ifndef QPDF_OBJECT_NOWARN // ABI: remove this file in qpdf 12 # warning "QPDFObject.hh is deprecated see comments in QPDFObject.hh" @@ -53,7 +59,6 @@ class QPDFObject static constexpr object_type_e ot_stream = ::ot_stream; static constexpr object_type_e ot_operator = ::ot_operator; static constexpr object_type_e ot_inlineimage = ::ot_inlineimage; - static constexpr object_type_e ot_unresolved = ::ot_unresolved; private: QPDFObject() = delete; |