| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 #ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H | 1 #ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H |
| 2 #define ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H | 2 #define ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H |
| 3 | 3 |
| 4 #include <v8.h> | 4 #include <v8.h> |
| 5 | 5 |
| 6 namespace AdblockPlus | 6 namespace AdblockPlus |
| 7 { | 7 { |
| 8 class AppInfo; | |
| 8 class JsEngine; | 9 class JsEngine; |
| 9 | 10 |
| 10 namespace GlobalJsObject | 11 namespace GlobalJsObject |
| 11 { | 12 { |
| 12 JsValuePtr Setup(JsEngine& jsEngine, JsValuePtr obj); | 13 JsValuePtr Setup(JsEngine& jsEngine, const AppInfo& appInfo, JsValuePtr obj) ; |
| 13 } | 14 } |
| 14 } | 15 } |
| 15 | 16 |
| 16 #endif | 17 #endif |
| LEFT | RIGHT |