LEFT | RIGHT |
(no file at all) | |
1 #ifndef ADBLOCKPLUS_FILTER_ENGINE_H | 1 #ifndef ADBLOCKPLUS_FILTER_ENGINE_H |
2 #define ADBLOCKPLUS_FILTER_ENGINE_H | 2 #define ADBLOCKPLUS_FILTER_ENGINE_H |
3 | 3 |
4 #include <vector> | 4 #include <vector> |
5 #include <map> | 5 #include <map> |
6 #include <string> | 6 #include <string> |
7 #ifdef _MSC_VER | 7 |
8 #include <memory> | 8 #include "tr1_memory.h" |
9 #else | 9 |
10 #include <tr1/memory> | |
11 #endif | |
12 namespace AdblockPlus | 10 namespace AdblockPlus |
13 { | 11 { |
14 class JsEngine; | 12 class JsEngine; |
15 class FilterEngine; | 13 class FilterEngine; |
16 | 14 |
17 class JsObject | 15 class JsObject |
18 { | 16 { |
19 public: | 17 public: |
20 std::string GetProperty(const std::string& name, const std::string& defaultV
alue) const; | 18 std::string GetProperty(const std::string& name, const std::string& defaultV
alue) const; |
21 int GetProperty(const std::string& name, int defaultValue) const; | 19 int GetProperty(const std::string& name, int defaultValue) const; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 #if FILTER_ENGINE_STUBS | 110 #if FILTER_ENGINE_STUBS |
113 std::map<std::string, FilterPtr> knownFilters; | 111 std::map<std::string, FilterPtr> knownFilters; |
114 std::vector<FilterPtr> listedFilters; | 112 std::vector<FilterPtr> listedFilters; |
115 std::map<std::string, SubscriptionPtr> knownSubscriptions; | 113 std::map<std::string, SubscriptionPtr> knownSubscriptions; |
116 std::vector<SubscriptionPtr> listedSubscriptions; | 114 std::vector<SubscriptionPtr> listedSubscriptions; |
117 #endif | 115 #endif |
118 }; | 116 }; |
119 } | 117 } |
120 | 118 |
121 #endif | 119 #endif |
LEFT | RIGHT |