]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/core/private/timer.h
Implement wxWindow::ShowWithEffect() for wxOSX/Cocoa.
[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
6// RCS-ID: $Id: timer.h 54117 2008-06-11 16:30:48Z 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_