Index: include/AdblockPlus/JsValue.h |
=================================================================== |
--- a/include/AdblockPlus/JsValue.h |
+++ b/include/AdblockPlus/JsValue.h |
@@ -15,18 +15,18 @@ namespace AdblockPlus |
typedef std::vector<AdblockPlus::JsValuePtr> JsValueList; |
// Forward declaration to avoid including JsEngine.h |
typedef std::tr1::shared_ptr<JsEngine> JsEnginePtr; |
class JsValue |
{ |
friend class JsEngine; |
- friend class JsObject; |
public: |
+ JsValue(JsValuePtr value); |
virtual ~JsValue(); |
bool IsUndefined() const; |
bool IsNull() const; |
bool IsString() const; |
bool IsNumber() const; |
bool IsBool() const; |
bool IsObject() const; |