]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/timer.h
Solved problem with wxhInstance name being mangled by MSVC; wxGetInstance is now...
[wxWidgets.git] / include / wx / gtk / timer.h
index 80e302758b896857c21216490701f73956c82a45..ad3fbc619d3b06860e6c530cc8d31ce995095284 100644 (file)
 
 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
 //-----------------------------------------------------------------------------