diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-05-11 15:41:50 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-06-15 12:47:12 +0000 |
commit | 01777e8fcb4ca2e16bfa05c914cfdbcccf132bc9 (patch) | |
tree | aa08941647083a8185fb7c05acfd099fa492b1f2 /src/core/printing | |
parent | 2715088397641a85c1fb61d64bdb4c677713337f (diff) |
Update export symbols for webenginecore module
Use own WEBENGINECORE_EXPORT define, mark most headers private
and use WEBENGINECORE_PRIVATE_EXPORT for it.
For sanity, add "WARNING" as for private headers even though they are
never installed.
Change-Id: I523d28c1d00217f48bc63dabf138dd3a7eb482d4
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/core/printing')
-rw-r--r-- | src/core/printing/pdfium_document_wrapper_qt.cpp | 2 | ||||
-rw-r--r-- | src/core/printing/pdfium_document_wrapper_qt.h | 15 |
2 files changed, 14 insertions, 3 deletions
diff --git a/src/core/printing/pdfium_document_wrapper_qt.cpp b/src/core/printing/pdfium_document_wrapper_qt.cpp index 681030eed..422cafdea 100644 --- a/src/core/printing/pdfium_document_wrapper_qt.cpp +++ b/src/core/printing/pdfium_document_wrapper_qt.cpp @@ -48,7 +48,7 @@ namespace QtWebEngineCore { int PdfiumDocumentWrapperQt::m_libraryUsers = 0; -class QWEBENGINE_EXPORT PdfiumPageWrapperQt { +class QWEBENGINECORE_PRIVATE_EXPORT PdfiumPageWrapperQt { public: PdfiumPageWrapperQt(void *data, int pageIndex, int targetWidth, int targetHeight) : m_pageData(FPDF_LoadPage(data, pageIndex)) diff --git a/src/core/printing/pdfium_document_wrapper_qt.h b/src/core/printing/pdfium_document_wrapper_qt.h index 7886c51c0..f4ac557a0 100644 --- a/src/core/printing/pdfium_document_wrapper_qt.h +++ b/src/core/printing/pdfium_document_wrapper_qt.h @@ -37,17 +37,28 @@ ** ****************************************************************************/ +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #ifndef PDFIUM_DOCUMENT_WRAPPER_QT_H #define PDFIUM_DOCUMENT_WRAPPER_QT_H -#include "qtwebenginecoreglobal.h" +#include "qtwebenginecoreglobal_p.h" #include <QtGui/qimage.h> namespace QtWebEngineCore { class PdfiumPageWrapperQt; -class QWEBENGINE_EXPORT PdfiumDocumentWrapperQt +class QWEBENGINECORE_PRIVATE_EXPORT PdfiumDocumentWrapperQt { public: PdfiumDocumentWrapperQt(const void *pdfData, size_t size, const QSize &imageSize, |