| Index: include/AdblockPlus/Notification.h |
| diff --git a/include/AdblockPlus/Notification.h b/include/AdblockPlus/Notification.h |
| index de5053f2f02a7a4c8b81c6f7d46b1ac8f7481bf4..afcbd724b24d952e94b5b7ac7fd81abf73d8ea33 100644 |
| --- a/include/AdblockPlus/Notification.h |
| +++ b/include/AdblockPlus/Notification.h |
| @@ -48,8 +48,7 @@ namespace AdblockPlus |
| /** |
| * Wrapper for an Adblock Plus notification object. |
| */ |
| - class Notification: public JsValue, |
| - public std::enable_shared_from_this<Notification> |
| + class Notification: public JsValue |
| { |
| friend class FilterEngine; |
| protected: |
| @@ -60,6 +59,26 @@ namespace AdblockPlus |
| explicit Notification(JsValue&& jsValue); |
| public: |
| /** |
| + * Copy constructor |
| + */ |
| + Notification(const Notification& src); |
| + |
| + /** |
| + * Move constructor |
| + */ |
| + Notification(Notification&& src); |
| + |
| + /** |
| + * Assignment operator |
| + */ |
| + Notification& operator=(const Notification& src); |
| + |
| + /** |
| + * Move assignment operator |
| + */ |
| + Notification& operator=(Notification&& src); |
| + |
| + /** |
| * Retrieves the type of this notification. |
| * @return Type of this notification. |
| */ |
| @@ -84,7 +103,6 @@ namespace AdblockPlus |
| void MarkAsShown(); |
| private: |
| }; |
| - typedef std::shared_ptr<Notification> NotificationPtr; |
| } |
| #endif |