X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03f38c58fdd36b1e951dfed81b245a7337bbc3b4..2cc0e28f6add744e192d196951dc8be7c9cc51f5:/include/wx/gtk/timer.h?ds=sidebyside diff --git a/include/wx/gtk/timer.h b/include/wx/gtk/timer.h index 9a1abc11c2..ad3fbc619d 100644 --- a/include/wx/gtk/timer.h +++ b/include/wx/gtk/timer.h @@ -2,9 +2,8 @@ // Name: timer.h // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -25,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 //-----------------------------------------------------------------------------