]>
Commit | Line | Data |
---|---|---|
b3d4ea61 SC |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/osx/core/private/timer.h | |
3 | // Purpose: wxTimer class based on core foundation | |
4 | // Author: Stefan Csomor | |
5 | // Created: 2008-07-16 | |
b3d4ea61 SC |
6 | // Copyright: (c) Stefan Csomor |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _WX_OSX_CORE_PRIVATE_TIMER_H_ | |
11 | #define _WX_OSX_CORE_PRIVATE_TIMER_H_ | |
12 | ||
13 | #include "wx/private/timer.h" | |
14 | ||
15 | struct wxOSXTimerInfo; | |
16 | ||
17 | class WXDLLIMPEXP_CORE wxOSXTimerImpl : public wxTimerImpl | |
18 | { | |
19 | public: | |
20 | wxOSXTimerImpl(wxTimer *timer); | |
21 | virtual ~wxOSXTimerImpl(); | |
22 | ||
23 | virtual bool Start(int milliseconds = -1, bool one_shot = false); | |
24 | virtual void Stop(); | |
25 | ||
26 | virtual bool IsRunning() const; | |
27 | ||
28 | private: | |
29 | wxOSXTimerInfo *m_info; | |
30 | }; | |
31 | ||
32 | #endif // _WX_OSX_CORE_PRIVATE_TIMER_H_ |