Index: src/plugin/PluginFilter.h |
diff --git a/src/plugin/PluginFilter.h b/src/plugin/PluginFilter.h |
index 61d3cd7d9e0e5b4e33fdfbf09cd318c1c7442533..1bf4bfcb3fbfaf2200c3940da3ae367161eb340a 100644 |
--- a/src/plugin/PluginFilter.h |
+++ b/src/plugin/PluginFilter.h |
@@ -150,6 +150,7 @@ private: |
TFilterMap m_filterMap[2][2]; |
TFilterMapDefault m_filterMapDefault[2]; |
+ std::vector<std::wstring> m_hideFilters; |
void ClearFilters(); |
@@ -157,7 +158,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); |
@@ -168,6 +169,7 @@ public: |
bool ShouldBlock(const std::wstring& src, int contentType, const std::wstring& domain, bool addDebug=false) const; |
HANDLE hideFiltersLoadedEvent; |
+ const std::vector<std::wstring>& getHideFilters() const; |
Oleksandr
2015/02/04 20:59:57
GetHideFilters() to be consistent?
sergei
2015/04/13 08:06:58
fixed
|
}; |