1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/core/private/timer.h
3 // Purpose: wxTimer class based on core foundation
4 // Author: Stefan Csomor
6 // Copyright: (c) Stefan Csomor
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_OSX_CORE_PRIVATE_TIMER_H_
11 #define _WX_OSX_CORE_PRIVATE_TIMER_H_
13 #include "wx/private/timer.h"
15 struct wxOSXTimerInfo
;
17 class WXDLLIMPEXP_CORE wxOSXTimerImpl
: public wxTimerImpl
20 wxOSXTimerImpl(wxTimer
*timer
);
21 virtual ~wxOSXTimerImpl();
23 virtual bool Start(int milliseconds
= -1, bool one_shot
= false);
26 virtual bool IsRunning() const;
29 wxOSXTimerInfo
*m_info
;
32 #endif // _WX_OSX_CORE_PRIVATE_TIMER_H_