]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/core/private/timer.h
removing NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation
[wxWidgets.git] / include / wx / osx / core / private / timer.h
CommitLineData
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
a9a4f229 6// RCS-ID: $Id$
b3d4ea61
SC
7// Copyright: (c) Stefan Csomor
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_OSX_CORE_PRIVATE_TIMER_H_
12#define _WX_OSX_CORE_PRIVATE_TIMER_H_
13
14#include "wx/private/timer.h"
15
16struct wxOSXTimerInfo;
17
18class WXDLLIMPEXP_CORE wxOSXTimerImpl : public wxTimerImpl
19{
20public:
21 wxOSXTimerImpl(wxTimer *timer);
22 virtual ~wxOSXTimerImpl();
23
24 virtual bool Start(int milliseconds = -1, bool one_shot = false);
25 virtual void Stop();
26
27 virtual bool IsRunning() const;
28
29private:
30 wxOSXTimerInfo *m_info;
31};
32
33#endif // _WX_OSX_CORE_PRIVATE_TIMER_H_