aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-12-30 15:31:09 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2015-01-02 21:11:06 +0100
commit1443b0566ed4528ff96d0e40b66ed030f796286b (patch)
tree059b8c566c5b4a4b4b2ff6f36b965c04e448bd0e /src/qml/jsruntime/qv4engine_p.h
parent3d11162fba96fb59593108c336a152920ddcf912 (diff)
Add a direct accessor to retrieve the JS engine from the ExecutionEngine
Change-Id: I2617143e39f354657e12541f3796a583e9934118 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index ff7e9da162..555a64de58 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -48,6 +48,7 @@ QT_BEGIN_NAMESPACE
class QV8Engine;
class QQmlError;
+class QJSEngine;
namespace QV4 {
namespace Debugging {
@@ -115,6 +116,7 @@ public:
Function *globalCode;
+ QJSEngine *jsEngine() const;
QV8Engine *v8Engine;
Value objectCtor;