| OLD | NEW |
| 1 #pragma once | 1 #pragma once |
| 2 | 2 |
| 3 #include <vector> | 3 #include <vector> |
| 4 | 4 |
| 5 #include "String.h" | 5 #include "../String.h" |
| 6 #include "intrusive_ptr.h" | 6 #include "../intrusive_ptr.h" |
| 7 #include "debug.h" | 7 #include "../debug.h" |
| 8 | 8 |
| 9 class Filter : public ref_counted | 9 class Filter : public ref_counted |
| 10 { | 10 { |
| 11 protected: | 11 protected: |
| 12 OwnedString mText; | 12 OwnedString mText; |
| 13 | 13 |
| 14 public: | 14 public: |
| 15 enum Type | 15 enum Type |
| 16 { | 16 { |
| 17 UNKNOWN = 0, | 17 UNKNOWN = 0, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 { | 37 { |
| 38 return mText; | 38 return mText; |
| 39 } | 39 } |
| 40 | 40 |
| 41 EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const; | 41 EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const; |
| 42 | 42 |
| 43 static EMSCRIPTEN_KEEPALIVE Filter* FromText(DependentString& text); | 43 static EMSCRIPTEN_KEEPALIVE Filter* FromText(DependentString& text); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 typedef intrusive_ptr<Filter> FilterPtr; | 46 typedef intrusive_ptr<Filter> FilterPtr; |
| OLD | NEW |