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

Delta Between Two Patch Sets: include/AdblockPlus/Notification.h

Issue 5797488346791936: Issue 1107 - Support notifications (Closed)
Left Patch Set: fix according to the comments Created Jan. 23, 2015, 2:44 p.m.
Right Patch Set: fix comment Created Jan. 23, 2015, 3:56 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « include/AdblockPlus/FilterEngine.h ('k') | lib/api.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 */ 61 */
62 const std::string& GetTitle() const; 62 const std::string& GetTitle() const;
63 63
64 /** 64 /**
65 * Retrieves the message of this notification. 65 * Retrieves the message of this notification.
66 * @return Message of this notification. 66 * @return Message of this notification.
67 */ 67 */
68 const std::string& GetMessageString() const; 68 const std::string& GetMessageString() const;
69 69
70 /** 70 /**
71 * Marks this notification as shown. It is valid for question 71 * Marks this notification as shown. It is only relevant for question
Felix Dahlke 2015/01/23 15:34:31 Maybe "only relevant" instead of "valid".
72 * notifications. Other notifications are marked automatically. 72 * notifications. Other notifications are marked automatically.
73 */ 73 */
74 void MarkAsShown(); 74 void MarkAsShown();
75 private: 75 private:
76 std::string title; 76 std::string title;
77 std::string message; 77 std::string message;
78 NotificationType type; 78 NotificationType type;
79 }; 79 };
80 typedef std::tr1::shared_ptr<Notification> NotificationPtr; 80 typedef std::tr1::shared_ptr<Notification> NotificationPtr;
81 } 81 }
82 82
83 #endif 83 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld