1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/private/timer.h
3 // Purpose: Generic implementation of wxTimer class
4 // Author: Vaclav Slavik
6 // Copyright: (c) Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GENERIC_PRIVATE_TIMER_H_
11 #define _WX_GENERIC_PRIVATE_TIMER_H_
15 #include "wx/private/timer.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
23 class WXDLLEXPORT wxGenericTimerImpl
: public wxTimerImpl
26 wxGenericTimerImpl(wxTimer
* timer
) : wxTimerImpl(timer
) { Init(); }
27 virtual ~wxGenericTimerImpl();
29 virtual bool Start(int millisecs
= -1, bool oneShot
= false);
32 virtual bool IsRunning() const;
35 static void NotifyTimers();
46 #endif // _WX_GENERIC_PRIVATE_TIMER_H_