[XPCOM] Keep the JS context with the Service/Method objects, we
[browser-dbus-bridge.git] / xpcom-dbusservice / DBusService.h
index a0619ce..83647bb 100644 (file)
@@ -77,6 +77,8 @@ private:
 
     DBusConnection *GetConnection(PRUint32 aConnType);
 
+    JSContext *GetCurrentJSContext();
+
     DBusConnection *mSystemBus;
     DBusConnection *mSessionBus;