1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/private/timer.h
3 // Purpose: Generic implementation of wxTimer class
4 // Author: Vaclav Slavik
5 // Copyright: (c) Vaclav Slavik
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef _WX_GENERIC_PRIVATE_TIMER_H_
10 #define _WX_GENERIC_PRIVATE_TIMER_H_
14 #include "wx/private/timer.h"
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_BASE wxGenericTimerImpl
: public wxTimerImpl
25 wxGenericTimerImpl(wxTimer
* timer
) : wxTimerImpl(timer
) { Init(); }
26 virtual ~wxGenericTimerImpl();
28 virtual bool Start(int millisecs
= -1, bool oneShot
= false);
31 virtual bool IsRunning() const;
34 static void NotifyTimers();
45 #endif // _WX_GENERIC_PRIVATE_TIMER_H_