mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
Add separate FUTURE header file for QPDFObjectHandle
This commit is contained in:
parent
9641626cae
commit
f49f43fed1
@ -22,6 +22,10 @@
|
||||
#ifndef QPDFOBJECTHANDLE_HH
|
||||
#define QPDFOBJECTHANDLE_HH
|
||||
|
||||
#ifdef QPDF_FUTURE
|
||||
# include <qpdf/QPDFObjectHandle_future.hh>
|
||||
#else
|
||||
|
||||
# include <qpdf/Constants.h>
|
||||
# include <qpdf/DLL.h>
|
||||
# include <qpdf/Types.h>
|
||||
@ -291,13 +295,6 @@ class QPDFObjectHandle
|
||||
QPDF_DLL
|
||||
QPDFObjectHandle& operator=(QPDFObjectHandle const&) = default;
|
||||
|
||||
#ifdef QPDF_FUTURE
|
||||
QPDF_DLL
|
||||
QPDFObjectHandle(QPDFObjectHandle&&) = default;
|
||||
QPDF_DLL
|
||||
QPDFObjectHandle& operator=(QPDFObjectHandle&&) = default;
|
||||
#endif
|
||||
|
||||
QPDF_DLL
|
||||
inline bool isInitialized() const;
|
||||
|
||||
@ -1637,4 +1634,5 @@ QPDFObjectHandle::isInitialized() const
|
||||
return obj != nullptr;
|
||||
}
|
||||
|
||||
#endif // QPDF_FUTURE
|
||||
#endif // QPDFOBJECTHANDLE_HH
|
||||
|
1637
include/qpdf/QPDFObjectHandle_future.hh
Normal file
1637
include/qpdf/QPDFObjectHandle_future.hh
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user