summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-05-11 15:41:50 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-06-15 12:47:12 +0000
commit01777e8fcb4ca2e16bfa05c914cfdbcccf132bc9 (patch)
treeaa08941647083a8185fb7c05acfd099fa492b1f2 /src/core/web_contents_adapter.h
parent2715088397641a85c1fb61d64bdb4c677713337f (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/web_contents_adapter.h')
-rw-r--r--src/core/web_contents_adapter.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/core/web_contents_adapter.h b/src/core/web_contents_adapter.h
index 95cc0eb93..f0a716250 100644
--- a/src/core/web_contents_adapter.h
+++ b/src/core/web_contents_adapter.h
@@ -37,10 +37,21 @@
**
****************************************************************************/
+//
+// 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 WEB_CONTENTS_ADAPTER_H
#define WEB_CONTENTS_ADAPTER_H
-#include "qtwebenginecoreglobal.h"
+#include "qtwebenginecoreglobal_p.h"
#include "web_contents_adapter_client.h"
#include <memory>
#include <QtGui/qtgui-config.h>
@@ -79,7 +90,7 @@ class RenderViewObserverHostQt;
class WebChannelIPCTransportHost;
class WebEngineContext;
-class QWEBENGINE_EXPORT WebContentsAdapter : public QEnableSharedFromThis<WebContentsAdapter> {
+class QWEBENGINECORE_PRIVATE_EXPORT WebContentsAdapter : public QEnableSharedFromThis<WebContentsAdapter> {
public:
static QSharedPointer<WebContentsAdapter> createFromSerializedNavigationHistory(QDataStream &input, WebContentsAdapterClient *adapterClient);
// Takes ownership of the WebContents.