]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/timer.cpp
Use unsigned char for XBM bitmaps data.
[wxWidgets.git] / src / palmos / timer.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/timer.cpp
3 // Purpose: wxTimer implementation
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #if wxUSE_TIMER
20
21 #include "wx/palmos/private/timer.h"
22
23 #ifndef WX_PRECOMP
24 #include "wx/list.h"
25 #include "wx/window.h"
26 #include "wx/event.h"
27 #include "wx/app.h"
28 #include "wx/intl.h"
29 #include "wx/log.h"
30 #include "wx/hashmap.h"
31 #endif
32
33 // ----------------------------------------------------------------------------
34 // private globals
35 // ----------------------------------------------------------------------------
36
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,
40 wxTimerMap);
41
42 static wxTimerMap g_timerMap;
43
44 // ----------------------------------------------------------------------------
45 // private functions
46 // ----------------------------------------------------------------------------
47
48 // ============================================================================
49 // implementation
50 // ============================================================================
51
52 // ----------------------------------------------------------------------------
53 // wxTimer class
54 // ----------------------------------------------------------------------------
55
56 void wxPalmOSTimerImpl::Init()
57 {
58 }
59
60 wxPalmOSTimerImpl::~wxPalmOSTimerImpl()
61 {
62 }
63
64 bool wxPalmOSTimerImpl::Start(int milliseconds, bool oneShot)
65 {
66 return false;
67 }
68
69 void wxPalmOSTimerImpl::Stop()
70 {
71 }
72
73 // ----------------------------------------------------------------------------
74 // private functions
75 // ----------------------------------------------------------------------------
76
77 void wxProcessTimer(wxPalmOSTimerImpl& timer)
78 {
79 }
80
81 #endif // wxUSE_TIMER