1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/private/timer.h
3 // Purpose: wxTimer class
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_OS2_PRIVATE_TIMER_H_
13 #define _WX_OS2_PRIVATE_TIMER_H_
15 #include "wx/private/timer.h"
17 class WXDLLIMPEXP_CORE wxOS2TimerImpl
: public wxTimerImpl
19 friend void wxProcessTimer(wxOS2TimerImpl
& timer
);
22 wxOS2TimerImpl(wxTimer
*timer
) : wxTimerImpl(timer
) { m_ulId
= 0; }
24 virtual bool Start(int nMilliseconds
= -1, bool bOneShot
= FALSE
);
25 virtual void Stop(void);
27 virtual bool IsRunning(void) const { return m_ulId
!= 0L; }
34 extern ULONG
wxTimerProc( HWND
WXUNUSED(hwnd
)
39 #endif // _WX_OS2_PRIVATE_TIMER_H_