OLD | NEW |
(Empty) | |
| 1 #pragma once |
| 2 |
| 3 #include "Subscription.h" |
| 4 |
| 5 class DownloadableSubscription : public Subscription |
| 6 { |
| 7 public: |
| 8 explicit DownloadableSubscription(const String& id); |
| 9 |
| 10 SUBSCRIPTION_PROPERTY(bool, mFixedTitle, GetFixedTitle, SetFixedTitle); |
| 11 SUBSCRIPTION_STRING_PROPERTY(mHomepage, GetHomepage, SetHomepage); |
| 12 SUBSCRIPTION_PROPERTY(double, mLastCheck, GetLastCheck, SetLastCheck); |
| 13 SUBSCRIPTION_PROPERTY(double, mHardExpiration, GetHardExpiration, SetHardExpir
ation); |
| 14 SUBSCRIPTION_PROPERTY(double, mSoftExpiration, GetSoftExpiration, SetSoftExpir
ation); |
| 15 SUBSCRIPTION_PROPERTY(double, mLastDownload, GetLastDownload, SetLastDownload)
; |
| 16 SUBSCRIPTION_STRING_PROPERTY(mDownloadStatus, GetDownloadStatus, SetDownloadSt
atus); |
| 17 SUBSCRIPTION_PROPERTY(double, mLastSuccess, GetLastSuccess, SetLastSuccess); |
| 18 SUBSCRIPTION_PROPERTY(int, mErrorCount, GetErrorCount, SetErrorCount); |
| 19 SUBSCRIPTION_PROPERTY(double, mDataRevision, GetDataRevision, SetDataRevision)
; |
| 20 SUBSCRIPTION_STRING_PROPERTY(mRequiredVersion, GetRequiredVersion, SetRequired
Version); |
| 21 SUBSCRIPTION_PROPERTY(int, mDownloadCount, GetDownloadCount, SetDownloadCount)
; |
| 22 |
| 23 EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const; |
| 24 }; |
OLD | NEW |