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

Unified Diff: include/AdblockPlus/Notification.h

Issue 5068192028295168: Issue 1919 - add Notifications::GetLinks() (Closed)
Patch Set: get rid of c++11 Created Feb. 2, 2015, 2:51 p.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
« no previous file with comments | « no previous file | src/Notification.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/Notification.h
===================================================================
--- a/include/AdblockPlus/Notification.h
+++ b/include/AdblockPlus/Notification.h
@@ -68,6 +68,12 @@
const std::string& GetMessageString() const;
/**
+ * Retrieves the URLs which should be mapped to the links in the message.
+ * @return List of links.
+ */
+ std::vector<std::string> GetLinks() const;
+
+ /**
* Marks this notification as shown. It is only relevant for question
* notifications. Other notifications are marked automatically.
*/
« no previous file with comments | « no previous file | src/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld