| LEFT | RIGHT |
| 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 Loading... |
| 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 |
| 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 |
| LEFT | RIGHT |