OLD | NEW |
1 #ifndef ADBLOCKPLUS_JS_VALUE_H | 1 #ifndef ADBLOCK_PLUS_JS_VALUE_H |
2 #define ADBLOCKPLUS_JS_VALUE_H | 2 #define ADBLOCK_PLUS_JS_VALUE_H |
3 | 3 |
4 #include <stdint.h> | 4 #include <stdint.h> |
5 #include <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 #include <v8.h> | 7 #include <v8.h> |
8 #include "tr1_memory.h" | 8 #include "tr1_memory.h" |
9 | 9 |
10 namespace AdblockPlus | 10 namespace AdblockPlus |
11 { | 11 { |
12 class JsValue; | 12 class JsValue; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 protected: | 57 protected: |
58 JsValue(JsEnginePtr jsEngine, v8::Handle<v8::Value> value); | 58 JsValue(JsEnginePtr jsEngine, v8::Handle<v8::Value> value); |
59 void SetProperty(const std::string& name, v8::Handle<v8::Value> val); | 59 void SetProperty(const std::string& name, v8::Handle<v8::Value> val); |
60 | 60 |
61 JsEnginePtr jsEngine; | 61 JsEnginePtr jsEngine; |
62 v8::Persistent<v8::Value> value; | 62 v8::Persistent<v8::Value> value; |
63 }; | 63 }; |
64 } | 64 } |
65 | 65 |
66 #endif | 66 #endif |
OLD | NEW |