]>
Commit | Line | Data |
---|---|---|
5c6eb3a8 | 1 | ///////////////////////////////////////////////////////////////////////////// |
233f5738 | 2 | // Name: wx/osx/carbon/private/timer.h |
5c6eb3a8 SC |
3 | // Purpose: wxTimer class |
4 | // Author: Stefan Csomor | |
5 | // Created: 1998-01-01 | |
5c6eb3a8 SC |
6 | // Copyright: (c) Stefan Csomor |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _WX_MAC_PRIVATE_TIMER_H_ | |
11 | #define _WX_MAC_PRIVATE_TIMER_H_ | |
12 | ||
13 | #include "wx/private/timer.h" | |
14 | ||
15 | struct MacTimerInfo; | |
16 | ||
17 | class WXDLLIMPEXP_CORE wxCarbonTimerImpl : public wxTimerImpl | |
18 | { | |
19 | public: | |
20 | wxCarbonTimerImpl(wxTimer *timer); | |
21 | virtual ~wxCarbonTimerImpl(); | |
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 | MacTimerInfo *m_info; | |
30 | }; | |
31 | ||
32 | #endif // _WX_MAC_PRIVATE_TIMER_H_ |