]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/private/timer.h
compilation fix for Borland C++
[wxWidgets.git] / include / wx / msw / private / timer.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/private/timer.h
3 // Purpose: wxTimer class
4 // Author: Julian Smart
5 // Created: 01/02/97
6 // RCS-ID: $Id$
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_MSW_PRIVATE_TIMER_H_
12 #define _WX_MSW_PRIVATE_TIMER_H_
13
14 #include "wx/private/timer.h"
15
16 class WXDLLIMPEXP_BASE wxMSWTimerImpl : public wxTimerImpl
17 {
18 public:
19 wxMSWTimerImpl(wxTimer *timer) : wxTimerImpl(timer) { m_id = 0; }
20
21 virtual bool Start(int milliseconds = -1, bool oneShot = false);
22 virtual void Stop();
23
24 virtual bool IsRunning() const { return m_id != 0; }
25
26 protected:
27 unsigned long m_id;
28 };
29
30 #endif // _WX_TIMERH_