X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58614078c466cffaf0e5d0369741706f130fb793..6e31e940637b08f56e23321b4b6df8e52fe31ca3:/include/wx/gtk1/timer.h diff --git a/include/wx/gtk1/timer.h b/include/wx/gtk1/timer.h index 80e302758b..ad3fbc619d 100644 --- a/include/wx/gtk1/timer.h +++ b/include/wx/gtk1/timer.h @@ -24,6 +24,22 @@ class wxTimer; +//----------------------------------------------------------------------------- +// global functions +//----------------------------------------------------------------------------- + +/* Timer functions (milliseconds) */ +void wxStartTimer(); + +/* Gets time since last wxStartTimer or wxGetElapsedTime */ +long wxGetElapsedTime(bool resetTimer = TRUE); + +/* EXPERIMENTAL: comment this out if it doesn't compile. */ +bool wxGetLocalTime(long *timeZone, int *dstObserved); + +/* Get number of seconds since 00:00:00 GMT, Jan 1st 1970. */ +long wxGetCurrentTime(); + //----------------------------------------------------------------------------- // wxTimer //-----------------------------------------------------------------------------