aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-01 21:19:15 +0200
committerEugene Sandulenko2016-04-01 21:19:15 +0200
commit14478a65f179318f0e269f10d8bfd77174d73cb1 (patch)
tree13bc9b78bf15505054a191d21da0fa497b908bdb
parent8d6fdaa46fce3090d7b381a231174f6929802788 (diff)
downloadscummvm-rg350-14478a65f179318f0e269f10d8bfd77174d73cb1.tar.gz
scummvm-rg350-14478a65f179318f0e269f10d8bfd77174d73cb1.tar.bz2
scummvm-rg350-14478a65f179318f0e269f10d8bfd77174d73cb1.zip
UPDATES: Added documentation to new methods
-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);
};