diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-09-08 17:12:10 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-09-08 17:19:49 +0200 |
commit | 25ccc7eae4b78e90d0fe6400abeba22ca4cd648e (patch) | |
tree | 06f0803cfd229f80ab793b4cca6f647f26d2641b /include | |
parent | c7a4967d10fb9688f235baa8e57a1fb578f5387d (diff) | |
download | qpdf-25ccc7eae4b78e90d0fe6400abeba22ca4cd648e.tar.zst |
Rename QPDFValueProxy.hh and QPDFValueProxy.cc
Preparing to change the class name back to QPDFObject
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObject.hh | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/qpdf/QPDFObject.hh b/include/qpdf/QPDFObject.hh index 619f27f6..b46b2820 100644 --- a/include/qpdf/QPDFObject.hh +++ b/include/qpdf/QPDFObject.hh @@ -19,14 +19,24 @@ // 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_OLD_HH +#define QPDFOBJECT_OLD_HH + +// ********************************************************************** +// +// This file is for backward compatibility. The header file for the +// internal QPDFObject class (not part of the public API) is in +// QPDFObject_private.hh (not installed). +// +// ********************************************************************** // 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. +// version installed. When enough time has passed, this file can be +// removed, and libqpdf/qpdf/QPDFObject_private.hh can be renamed to +// libqpdf/qpdf/QPDFObject.hh. #ifndef QPDF_OBJECT_NOWARN // ABI: remove this file in qpdf 12 @@ -66,4 +76,4 @@ class QPDFObject QPDFObject& operator=(QPDFObject const&) = delete; }; -#endif // QPDFOBJECT_HH +#endif // QPDFOBJECT_OLD_HH |