Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include/AdblockPlus/JsValue.h

Issue 5797488346791936: Issue 1107 - Support notifications (Closed)
Patch Set: move MarkAsShown into Notification class and get rid of locale arg in Notification::GetTexts Created Jan. 22, 2015, 10:02 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/AdblockPlus/JsValue.h
diff --git a/include/AdblockPlus/JsValue.h b/include/AdblockPlus/JsValue.h
index 44535f92711382aa905576c59a283a82e3e4c490..6a27f1576441db34902aa3f14b4a285e2507e1c9 100644
--- a/include/AdblockPlus/JsValue.h
+++ b/include/AdblockPlus/JsValue.h
@@ -106,6 +106,12 @@ namespace AdblockPlus
//@}
/**
+ * Adds value if this is an array (see `IsArray()`).
+ * @param value Value.
+ */
+ void Push(const JsValuePtr& value);
+
+ /**
* Returns the value's class name, e.g.\ _Array_ for arrays
* (see `IsArray()`).
* Technically, this is the name of the function that was used as a

Powered by Google App Engine
This is Rietveld