1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/core/private/timer.h
3 // Purpose: wxTimer class based on core foundation
4 // Author: Stefan Csomor
6 // RCS-ID: $Id: timer.h 54117 2008-06-11 16:30:48Z SC $
7 // Copyright: (c) Stefan Csomor
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_OSX_CORE_PRIVATE_TIMER_H_
12 #define _WX_OSX_CORE_PRIVATE_TIMER_H_
14 #include "wx/private/timer.h"
16 struct wxOSXTimerInfo
;
18 class WXDLLIMPEXP_CORE wxOSXTimerImpl
: public wxTimerImpl
21 wxOSXTimerImpl(wxTimer
*timer
);
22 virtual ~wxOSXTimerImpl();
24 virtual bool Start(int milliseconds
= -1, bool one_shot
= false);
27 virtual bool IsRunning() const;
30 wxOSXTimerInfo
*m_info
;
33 #endif // _WX_OSX_CORE_PRIVATE_TIMER_H_