Index: compiled/subscription/UserDefinedSubscription.h |
diff --git a/compiled/subscription/UserDefinedSubscription.h b/compiled/subscription/UserDefinedSubscription.h |
index 65006fb6c753843b7739f489e02cbb0604d04bac..17cada4aea9954fdf5c092e8d0e42efa97d27930 100644 |
--- a/compiled/subscription/UserDefinedSubscription.h |
+++ b/compiled/subscription/UserDefinedSubscription.h |
@@ -31,7 +31,7 @@ private: |
public: |
static constexpr Type classType = Type::USERDEFINED; |
- explicit UserDefinedSubscription(const String& id); |
+ explicit UserDefinedSubscription(const String& id, const KeyValues& properties); |
bool BINDINGS_EXPORTED IsDefaultFor(const Filter& filter) const; |
void BINDINGS_EXPORTED MakeDefaultFor(const Filter& filter); |
bool BINDINGS_EXPORTED IsGeneric() const |
@@ -40,9 +40,11 @@ public: |
} |
void BINDINGS_EXPORTED InsertFilterAt(Filter& filter, unsigned pos); |
bool BINDINGS_EXPORTED RemoveFilterAt(unsigned pos); |
- OwnedString BINDINGS_EXPORTED Serialize() const; |
+ OwnedString SerializeProperties() const; |
+private: |
+ static void parseDefaultsProperty(const KeyValues& properties, int& member); |
}; |
typedef intrusive_ptr<UserDefinedSubscription> UserDefinedSubscriptionPtr; |
-ABP_NS_END |
+ABP_NS_END |