Commit 128e41648f10659336f5e017a2bfa7b697957b98

Authored by Jay Berkenbilt
1 parent ba0ef7a1

Remove PointerHolder.hh from other than public header files

Increase to POINTERHOLDER_TRANSITION=4
CMakeLists.txt
... ... @@ -108,7 +108,7 @@ if(NOT (BUILD_STATIC_LIBS OR BUILD_SHARED_LIBS))
108 108 FATAL_ERROR "At least one of static or shared libraries must be built")
109 109 endif()
110 110  
111   -add_compile_definitions($<$<COMPILE_LANGUAGE:CXX>:POINTERHOLDER_TRANSITION=3>)
  111 +add_compile_definitions($<$<COMPILE_LANGUAGE:CXX>:POINTERHOLDER_TRANSITION=4>)
112 112  
113 113 enable_testing()
114 114 set(RUN_QTEST perl ${qpdf_SOURCE_DIR}/run-qtest)
... ...
libqpdf/InputSource.cc
1 1 #include <qpdf/InputSource.hh>
2 2  
3   -#include <qpdf/PointerHolder.hh>
4 3 #include <qpdf/QIntC.hh>
5 4 #include <qpdf/QTC.hh>
6 5 #include <stdexcept>
... ...
libqpdf/Pl_SHA2.cc
1 1 #include <qpdf/Pl_SHA2.hh>
2 2  
3   -#include <qpdf/PointerHolder.hh>
4 3 #include <qpdf/QPDFCryptoProvider.hh>
5 4 #include <qpdf/QUtil.hh>
6 5 #include <cstdio>
... ...
libqpdf/QUtil.cc
... ... @@ -5,7 +5,6 @@
5 5  
6 6 #include <qpdf/CryptoRandomDataProvider.hh>
7 7 #include <qpdf/Pipeline.hh>
8   -#include <qpdf/PointerHolder.hh>
9 8 #include <qpdf/QIntC.hh>
10 9 #include <qpdf/QPDFSystemError.hh>
11 10 #include <qpdf/QTC.hh>
... ...
libqpdf/SHA2_native.cc
1 1 #include <qpdf/SHA2_native.hh>
2 2  
3   -#include <qpdf/PointerHolder.hh>
4 3 #include <qpdf/QUtil.hh>
5 4 #include <cstdio>
6 5 #include <stdexcept>
... ...
libqpdf/qpdf/JSONHandler.hh
... ... @@ -3,7 +3,6 @@
3 3  
4 4 #include <qpdf/DLL.h>
5 5 #include <qpdf/JSON.hh>
6   -#include <qpdf/PointerHolder.hh>
7 6 #include <functional>
8 7 #include <map>
9 8 #include <memory>
... ...
libqpdf/qpdf/OffsetInputSource.hh
... ... @@ -5,7 +5,6 @@
5 5 // input source but offset a specific number of bytes.
6 6  
7 7 #include <qpdf/InputSource.hh>
8   -#include <qpdf/PointerHolder.hh>
9 8  
10 9 class OffsetInputSource: public InputSource
11 10 {
... ...
libtests/input_source.cc
1 1 #include <qpdf/Buffer.hh>
2 2 #include <qpdf/BufferInputSource.hh>
3   -#include <qpdf/PointerHolder.hh>
4 3 #include <qpdf/QPDFTokenizer.hh>
5 4 #include <cstring>
6 5 #include <iostream>
... ...
libtests/qutil.cc
1 1 #include <qpdf/Pl_Buffer.hh>
2   -#include <qpdf/PointerHolder.hh>
3 2 #include <qpdf/QPDFSystemError.hh>
4 3 #include <qpdf/QUtil.hh>
5 4 #include <fcntl.h>
... ...
qpdf/test_renumber.cc
1 1 #include <qpdf/Buffer.hh>
2   -#include <qpdf/PointerHolder.hh>
3 2 #include <qpdf/QPDF.hh>
4 3 #include <qpdf/QPDFObjGen.hh>
5 4 #include <qpdf/QPDFObject.hh>
... ...