Index: include/AdblockPlus/FilterEngine.h |
diff --git a/include/AdblockPlus/FilterEngine.h b/include/AdblockPlus/FilterEngine.h |
index fe9cc42306f58ab9ad766b8d07f4a37fab71112f..de6fa666165069dc60c31f91b073ab233d8a5c94 100644 |
--- a/include/AdblockPlus/FilterEngine.h |
+++ b/include/AdblockPlus/FilterEngine.h |
@@ -39,7 +39,13 @@ namespace AdblockPlus |
*/ |
class Filter : public JsValue |
{ |
+ friend class FilterEngine; |
public: |
+ Filter(const Filter& src); |
+ Filter(Filter&& src); |
+ Filter& operator=(const Filter& src); |
+ Filter& operator=(Filter&& src); |
+ |
/** |
* Filter types, see https://adblockplus.org/en/filters. |
*/ |
@@ -71,6 +77,7 @@ namespace AdblockPlus |
bool operator==(const Filter& filter) const; |
+ protected: |
/** |
* Creates a wrapper for an existing JavaScript filter object. |
* Normally you shouldn't call this directly, but use |