aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-09 17:00:09 +0200
committerEugene Sandulenko2016-04-09 17:04:04 +0200
commitc18a12453ed7702e3ced87d5f42acf7d10b6b41d (patch)
treee32399591540190048046e88fd44de296a0fee68 /common
parent185b8534086896b8447ae0d280b9e2dde67a6f5d (diff)
downloadscummvm-rg350-c18a12453ed7702e3ced87d5f42acf7d10b6b41d.tar.gz
scummvm-rg350-c18a12453ed7702e3ced87d5f42acf7d10b6b41d.tar.bz2
scummvm-rg350-c18a12453ed7702e3ced87d5f42acf7d10b6b41d.zip
UPDATES: Implemented method getLastUpdateCheckTimeAndDate()
Currently it uses methods and constants deprecated in 10.10. 10.10+ -specific code will follow
Diffstat (limited to 'common')
-rw-r--r--common/updates.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/updates.h b/common/updates.h
index 65eb5ac095..3a3049d4df 100644
--- a/common/updates.h
+++ b/common/updates.h
@@ -95,6 +95,14 @@ public:
virtual int getUpdateCheckInterval() { return kUpdateIntervalNotSupported; }
/**
+ * Gets last update check time
+ *
+ * @param t TimeDate struct to fill out
+ * @return flag indicating success
+ */
+ virtual bool getLastUpdateCheckTimeAndDate(TimeDate &t) { return false; }
+
+ /**
* Returns list of supported uptate intervals.
* Ending with '-1' which is not acceptable value.
*