]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/carbon/private/timer.h
Expose the Apple menu so it can be setup manually.
[wxWidgets.git] / include / wx / osx / carbon / private / timer.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/carbon/private/timer.h
3 // Purpose: wxTimer class
4 // Author: Stefan Csomor
5 // Created: 1998-01-01
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_