X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58614078c466cffaf0e5d0369741706f130fb793..3218cf580bf2249f20748aad4f78e339cf5fa02f:/include/wx/gtk/timer.h diff --git a/include/wx/gtk/timer.h b/include/wx/gtk/timer.h index 80e302758b..ad3fbc619d 100644 --- a/include/wx/gtk/timer.h +++ b/include/wx/gtk/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 //-----------------------------------------------------------------------------