From 0b77f2cf2646019331d3adc21985052319bdba4c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 4 Mar 2021 15:40:56 -0500 Subject: Revert non-binary-compatible handleWarning change -- see TODO (ABI) --- include/qpdf/QPDFObjectHandle.hh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'include') diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 238dd6e3..e57179b5 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -224,16 +224,7 @@ class QPDFObjectHandle virtual void handleObject( QPDFObjectHandle, size_t offset, size_t length); - // handleWarning is called if a warning was issued during the - // parsing of the most recent object. There's no good way to - // get information about the warning, but implementors can use - // this to become aware that there was some problem while - // parsing this content stream. - QPDF_DLL - virtual void handleWarning(); - - QPDF_DLL - virtual void handleEOF(); + virtual void handleEOF() = 0; // Override this if you want to know the full size of the // contents, possibly after concatenation of multiple streams. -- cgit v1.2.3-70-g09d2