| OLD | NEW | 
|---|
| 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-2017 eyeo GmbH | 3  * Copyright (C) 2006-2017 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 14 matching lines...) Expand all  Loading... | 
| 25 namespace AdblockPlus | 25 namespace AdblockPlus | 
| 26 { | 26 { | 
| 27   class FilterEngine; | 27   class FilterEngine; | 
| 28   /** | 28   /** | 
| 29    * Possible notification types. | 29    * Possible notification types. | 
| 30    */ | 30    */ | 
| 31   enum NotificationType | 31   enum NotificationType | 
| 32   { | 32   { | 
| 33     NOTIFICATION_TYPE_INFORMATION, | 33     NOTIFICATION_TYPE_INFORMATION, | 
| 34     NOTIFICATION_TYPE_QUESTION, | 34     NOTIFICATION_TYPE_QUESTION, | 
|  | 35     NOTIFICATION_TYPE_RELENTLESS, | 
| 35     NOTIFICATION_TYPE_CRITICAL | 36     NOTIFICATION_TYPE_CRITICAL | 
| 36   }; | 37   }; | 
| 37 | 38 | 
| 38   /** | 39   /** | 
| 39    * Contains notification title and message. It's returned by | 40    * Contains notification title and message. It's returned by | 
| 40    * `Notification::GetTexts`. | 41    * `Notification::GetTexts`. | 
| 41    */ | 42    */ | 
| 42   struct NotificationTexts | 43   struct NotificationTexts | 
| 43   { | 44   { | 
| 44     std::string title; | 45     std::string title; | 
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 99     /** | 100     /** | 
| 100      * Marks this notification as shown. It is only relevant for question | 101      * Marks this notification as shown. It is only relevant for question | 
| 101      * notifications. Other notifications are marked automatically. | 102      * notifications. Other notifications are marked automatically. | 
| 102      */ | 103      */ | 
| 103     void MarkAsShown(); | 104     void MarkAsShown(); | 
| 104   private: | 105   private: | 
| 105   }; | 106   }; | 
| 106 } | 107 } | 
| 107 | 108 | 
| 108 #endif | 109 #endif | 
| OLD | NEW | 
|---|