]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/mac/carbon/private/timer.h
moving tlw list up, cleanup
[wxWidgets.git] / include / wx / mac / carbon / private / timer.h
... / ...
CommitLineData
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/mac/macnotfy.h"
15#include "wx/private/timer.h"
16
17struct MacTimerInfo;
18
19class WXDLLEXPORT wxCarbonTimerImpl : public wxTimerImpl
20{
21public:
22 wxCarbonTimerImpl(wxTimer *timer);
23 virtual ~wxCarbonTimerImpl();
24
25 virtual bool Start(int milliseconds = -1, bool one_shot = false);
26 virtual void Stop();
27
28 virtual bool IsRunning() const;
29
30private:
31 MacTimerInfo *m_info;
32};
33
34#endif // _WX_MAC_PRIVATE_TIMER_H_