Index: src/JsEngineInternal.h |
=================================================================== |
--- a/src/JsEngineInternal.h |
+++ b/src/JsEngineInternal.h |
@@ -6,6 +6,7 @@ |
#include <v8.h> |
#include <array> |
#include "AllocatedArray.h" |
+#include "Event.h" |
#include "V8Upgrade.h" |
class PersistentValueArray |
@@ -67,10 +68,20 @@ |
: public AdblockPlus::JsEngine |
{ |
/** |
+ * Allows implementations of public API functions to access internal members. |
+ */ |
+ friend class AdblockPlus::JsEngine; |
+ |
+ /** |
* Unique context associated with this isolate. |
*/ |
v8::Persistent<v8::Context> context; |
+ /** |
+ * Event manager provides implementation of event set, remove, and trigger. |
+ */ |
+ EventManager eventMan; |
sergei
2017/03/15 12:17:21
what about "ager"?
|
+ |
public: |
JsEngineInternal(const AdblockPlus::ScopedV8IsolatePtr& isolate); |