diff options
Diffstat (limited to 'common/system.h')
-rw-r--r-- | common/system.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/common/system.h b/common/system.h index 7989cabfbd..204ea9383a 100644 --- a/common/system.h +++ b/common/system.h @@ -662,7 +662,7 @@ public: * Move ("warp") the mouse cursor to the specified position in virtual * screen coordinates. * @param x the new x position of the mouse - * @param y the new x position of the mouse + * @param y the new y position of the mouse */ virtual void warpMouse(int x, int y) = 0; @@ -727,8 +727,12 @@ public: /** Delay/sleep for the specified amount of milliseconds. */ virtual void delayMillis(uint msecs) = 0; - /** Get the current time and date. Correspond to time()+localtime(). */ - virtual void getTimeAndDate(struct tm &t) const; + /** + * Get the current time and date, in the local timezone. + * Corresponds on many systems to the combination of time() + * and localtime(). + */ + virtual void getTimeAndDate(struct tm &t) const = 0; /** * Return the timer manager singleton. For more information, refer |