OLD | NEW |
(Empty) | |
| 1 #ifndef ADBLOCK_PLUS_CSS_PROPERTY_FILTER_H |
| 2 #define ADBLOCK_PLUS_CSS_PROPERTY_FILTER_H |
| 3 |
| 4 #include <cstddef> |
| 5 |
| 6 #include "Filter.h" |
| 7 #include "ElemHideBase.h" |
| 8 |
| 9 class CSSPropertyFilter: public ElemHideBase |
| 10 { |
| 11 private: |
| 12 String mRegexpSource; |
| 13 String mPrefix; |
| 14 String mSuffix; |
| 15 public: |
| 16 CSSPropertyFilter(const String& text, String::size_type domainsEnd, |
| 17 String::size_type selectorStart, String::size_type prefixEnd, |
| 18 String::size_type regexpStart, String::size_type regexpEnd, |
| 19 String::size_type suffixStart); |
| 20 Type GetType() const; |
| 21 String GetRegExpString() const; |
| 22 const String GetSelectorPrefix() const |
| 23 { |
| 24 return mPrefix; |
| 25 } |
| 26 const String GetSelectorSuffix() const |
| 27 { |
| 28 return mSuffix; |
| 29 } |
| 30 }; |
| 31 |
| 32 #endif |
OLD | NEW |