Index: compiled/subscription/Subscription.h |
=================================================================== |
--- a/compiled/subscription/Subscription.h |
+++ b/compiled/subscription/Subscription.h |
@@ -78,23 +78,27 @@ public: |
EMSCRIPTEN_KEEPALIVE const String& GetID() const |
{ |
return mID; |
} |
SUBSCRIPTION_STRING_PROPERTY(mTitle, SUBSCRIPTION_TITLE, GetTitle, SetTitle); |
SUBSCRIPTION_PROPERTY(bool, mDisabled, SUBSCRIPTION_DISABLED, |
GetDisabled, SetDisabled); |
+ SUBSCRIPTION_PROPERTY(bool, mListed, NONE, GetListed, SetListed); |
EMSCRIPTEN_KEEPALIVE unsigned GetFilterCount() const |
{ |
return mFilters.size(); |
} |
EMSCRIPTEN_KEEPALIVE Filter* FilterAt(unsigned index); |
EMSCRIPTEN_KEEPALIVE int IndexOfFilter(Filter* filter); |
EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const; |
EMSCRIPTEN_KEEPALIVE OwnedString SerializeFilters() const; |
static EMSCRIPTEN_KEEPALIVE Subscription* FromID(const String& id); |
+ |
+ template<typename T> |
+ T* As(); |
}; |
typedef intrusive_ptr<Subscription> SubscriptionPtr; |