]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/timer.h
1 #ifndef _WX_TIMER_H_BASE_
2 #define _WX_TIMER_H_BASE_
5 #include "wx/msw/timer.h"
6 #elif defined(__WXMOTIF__)
7 #include "wx/motif/timer.h"
8 #elif defined(__WXGTK__)
9 #include "wx/gtk/timer.h"
10 #elif defined(__WXQT__)
11 #include "wx/qt/timer.h"
12 #elif defined(__WXMAC__)
13 #include "wx/mac/timer.h"
14 #elif defined(__WXPM__)
15 #include "wx/os2/timer.h"
16 #elif defined(__WXSTUBS__)
17 #include "wx/stubs/timer.h"
36 // Timer functions (milliseconds)
37 void WXDLLEXPORT
wxStartTimer();
39 // Gets time since last wxStartTimer or wxGetElapsedTime
40 long WXDLLEXPORT
wxGetElapsedTime(bool resetTimer
= TRUE
);
42 // EXPERIMENTAL: comment this out if it doesn't compile.
43 bool WXDLLEXPORT
wxGetLocalTime(long *timeZone
, int *dstObserved
);
45 // Get number of seconds since 00:00:00 GMT, Jan 1st 1970.
46 long WXDLLEXPORT
wxGetCurrentTime();
48 // Get number of milliseconds since 00:00:00 GMT, Jan 1st 1970.
49 long WXDLLEXPORT
wxGetCurrentMTime();