diff --git a/src/dom/jsengine.h b/src/dom/jsengine.h
index 3f63c60607786412a2dd1923ba47f1bd4344f0c1..abcbb23e91457bd29d36b3db6d00d1ac672b9731 100644 (file)
--- a/src/dom/jsengine.h
+++ b/src/dom/jsengine.h
bool evaluateFile(const DOMString &script);
- JSObject *wrapDocument(const Document *doc);
+ /**
+ * Return the runtime of the wrapped JS engine
+ */
+ JSRuntime *getRuntime()
+ { return rt; }
+
+ /**
+ * Return the current context of the wrapped JS engine
+ */
+ JSContext *getContext()
+ { return cx; }
+
+ /**
+ * Return the current global object of the wrapped JS engine
+ */
+ JSObject *getGlobalObject()
+ { return globalObj; }
+
private:
engine->error((char *)message);
}
- JSObject *nodeProto;
- JSObject *characterDataProto;
- JSObject *textProto;
- JSObject *cdataProto;
- JSObject *documentProto;
+
+
};