]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/timer.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/timer.cpp
3 // Purpose: wxTimer implementation
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
21 #include "wx/palmos/private/timer.h"
25 #include "wx/window.h"
30 #include "wx/hashmap.h"
33 // ----------------------------------------------------------------------------
35 // ----------------------------------------------------------------------------
37 // define a hash containing all the timers: it is indexed by timer id and
38 // contains the corresponding timer
39 WX_DECLARE_HASH_MAP(unsigned long, wxPalmOSTimerImpl
*, wxIntegerHash
, wxIntegerEqual
,
42 static wxTimerMap g_timerMap
;
44 // ----------------------------------------------------------------------------
46 // ----------------------------------------------------------------------------
48 // ============================================================================
50 // ============================================================================
52 // ----------------------------------------------------------------------------
54 // ----------------------------------------------------------------------------
56 void wxPalmOSTimerImpl::Init()
60 wxPalmOSTimerImpl::~wxPalmOSTimerImpl()
64 bool wxPalmOSTimerImpl::Start(int milliseconds
, bool oneShot
)
69 void wxPalmOSTimerImpl::Stop()
73 // ----------------------------------------------------------------------------
75 // ----------------------------------------------------------------------------
77 void wxProcessTimer(wxPalmOSTimerImpl
& timer
)