|
|
@ -12,6 +12,8 @@
|
|
|
|
#ifndef WEBVIEWPLUGIN_H
|
|
|
|
#ifndef WEBVIEWPLUGIN_H
|
|
|
|
#define WEBVIEWPLUGIN_H
|
|
|
|
#define WEBVIEWPLUGIN_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "WebViewConfig.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include "DllMacro.h"
|
|
|
|
#include "DllMacro.h"
|
|
|
|
#include "utils/PluginFactory.h"
|
|
|
|
#include "utils/PluginFactory.h"
|
|
|
|
#include "viewpages/ViewStep.h"
|
|
|
|
#include "viewpages/ViewStep.h"
|
|
|
@ -19,9 +21,16 @@
|
|
|
|
#include <QVariantMap>
|
|
|
|
#include <QVariantMap>
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef WEBVIEW_WITH_WEBKIT
|
|
|
|
#ifdef WEBVIEW_WITH_WEBKIT
|
|
|
|
#define C_QWEBVIEW QWebView
|
|
|
|
# define C_QWEBVIEW QWebView
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
#define C_QWEBVIEW QWebEngineView
|
|
|
|
#ifdef WEBVIEW_WITH_WEBENGINE
|
|
|
|
|
|
|
|
# ifdef C_QWEBVIEW
|
|
|
|
|
|
|
|
# error Both WEBENGINE and WEBKIT enabled
|
|
|
|
|
|
|
|
# endif
|
|
|
|
|
|
|
|
# define C_QWEBVIEW QWebEngineView
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef C_QWEBVIEW
|
|
|
|
|
|
|
|
# error Neither WEBENGINE nor WEBKIT enabled
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
class C_QWEBVIEW;
|
|
|
|
class C_QWEBVIEW;
|
|
|
|