]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/timer.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/timer.h
3 // Purpose: wxTimer class
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 class WXDLLIMPEXP_BASE wxTimer
: public wxTimerBase
17 friend void wxProcessTimer(wxTimer
& timer
);
21 wxTimer(wxEvtHandler
*owner
, int id
= -1) : wxTimerBase(owner
, id
)
25 virtual bool Start(int milliseconds
= -1, bool oneShot
= FALSE
);
28 virtual bool IsRunning() const { return m_id
!= 0; }
36 DECLARE_DYNAMIC_CLASS_NO_COPY(wxTimer
)