Index: src/plugin/PluginFilter.h |
diff --git a/src/plugin/PluginFilter.h b/src/plugin/PluginFilter.h |
index 7f1b9a1baf704e1813482266372b60705c3a8d61..302e31e8a82253f7cff5cef789c2f76464e8e608 100644 |
--- a/src/plugin/PluginFilter.h |
+++ b/src/plugin/PluginFilter.h |
@@ -139,6 +139,7 @@ private: |
TFilterElementHideTagsNamed m_elementHideTagsId; |
TFilterElementHideTagsNamed m_elementHideTagsClass; |
TFilterElementHideTags m_elementHideTags; |
+ std::vector<std::wstring> m_hideFilters; |
void ClearFilters(); |
@@ -146,7 +147,7 @@ public: |
CPluginFilter(const CString& dataPath = ""); |
- bool LoadHideFilters(std::vector<std::wstring> filters); |
+ bool LoadHideFilters(const std::vector<std::wstring>& filters); |
bool AddFilterElementHide(CString filter); |
@@ -157,6 +158,7 @@ public: |
bool ShouldBlock(const std::wstring& src, AdblockPlus::FilterEngine::ContentType contentType, const std::wstring& domain, bool addDebug=false) const; |
HANDLE hideFiltersLoadedEvent; |
+ const std::vector<std::wstring>& GetHideFilters() const; |
}; |