aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/updates.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/updates.h b/common/updates.h
index 986d56ce24..fa6f79fb91 100644
--- a/common/updates.h
+++ b/common/updates.h
@@ -94,7 +94,19 @@ public:
*/
virtual int getUpdateCheckInterval() { return kUpdateIntervalNotSupported; }
+ /**
+ * Returns list of supported uptate intervals.
+ * Ending with '-1' which is not acceptable value.
+ *
+ * @return list of integer values representing update intervals in seconds.
+ */
static const int *getUpdateIntervals();
+
+ /**
+ * Returns string representation of a given interval.
+ *
+ * @return pointer to localized string of given interval.
+ */
static const char *updateIntervalToString(int interval);
};