Index: include/AdblockPlus/FilterEngine.h |
=================================================================== |
--- a/include/AdblockPlus/FilterEngine.h |
+++ b/include/AdblockPlus/FilterEngine.h |
@@ -210,17 +210,17 @@ |
* Container of name-value pairs representing a set of preferences. |
*/ |
typedef std::map<std::string, AdblockPlus::JsValue> Prefs; |
/** |
* Callback type invoked when a new notification should be shown. |
* The parameter is the Notification object to be shown. |
*/ |
- typedef std::function<void(const NotificationPtr&)> ShowNotificationCallback; |
+ typedef std::function<void(Notification&)> ShowNotificationCallback; |
/** |
* Callback function returning false when current connection is not |
* allowedConnectionType, e.g. because it is a metered connection. |
*/ |
typedef std::function<bool(const std::string* allowedConnectionType)> IsConnectionAllowedCallback; |
/** |