X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03f38c58fdd36b1e951dfed81b245a7337bbc3b4..e87271f35887a50e011c7c97fc63c35f5d623e50:/include/wx/msw/timer.h?ds=sidebyside diff --git a/include/wx/msw/timer.h b/include/wx/msw/timer.h index eb65f21795..36fc33a1c0 100644 --- a/include/wx/msw/timer.h +++ b/include/wx/msw/timer.h @@ -6,7 +6,7 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TIMER_H_ @@ -20,6 +20,8 @@ class WXDLLEXPORT wxTimer : public wxObject { +friend void wxProcessTimer(wxTimer& timer); + public: wxTimer(); ~wxTimer(); @@ -35,9 +37,9 @@ public: bool OneShot() const { return oneShot; } protected: - bool oneShot ; - int milli ; - int lastMilli ; + bool oneShot; + int milli; + int lastMilli; long id; @@ -45,16 +47,5 @@ private: DECLARE_ABSTRACT_CLASS(wxTimer) }; -// Timer functions (milliseconds) -void WXDLLEXPORT wxStartTimer(); -// Gets time since last wxStartTimer or wxGetElapsedTime -long WXDLLEXPORT wxGetElapsedTime(bool resetTimer = TRUE); - -// EXPERIMENTAL: comment this out if it doesn't compile. -bool WXDLLEXPORT wxGetLocalTime(long *timeZone, int *dstObserved); - -// Get number of seconds since 00:00:00 GMT, Jan 1st 1970. -long WXDLLEXPORT wxGetCurrentTime(); - #endif // _WX_TIMERH_