]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/carbon/private/timer.h
typo fix
[wxWidgets.git] / include / wx / osx / carbon / private / timer.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mac/carbon/private/timer.h
3 // Purpose: wxTimer class
4 // Author: Stefan Csomor
5 // Created: 1998-01-01
6 // RCS-ID: $Id$
7 // Copyright: (c) Stefan Csomor
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_MAC_PRIVATE_TIMER_H_
12 #define _WX_MAC_PRIVATE_TIMER_H_
13
14 #include "wx/private/timer.h"
15
16 struct MacTimerInfo;
17
18 class WXDLLIMPEXP_CORE wxCarbonTimerImpl : public wxTimerImpl
19 {
20 public:
21 wxCarbonTimerImpl(wxTimer *timer);
22 virtual ~wxCarbonTimerImpl();
23
24 virtual bool Start(int milliseconds = -1, bool one_shot = false);
25 virtual void Stop();
26
27 virtual bool IsRunning() const;
28
29 private:
30 MacTimerInfo *m_info;
31 };
32
33 #endif // _WX_MAC_PRIVATE_TIMER_H_