]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/generic/private/timer.h
remove unused variable assignment, closes #14928
[wxWidgets.git] / include / wx / generic / private / timer.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/generic/private/timer.h
3// Purpose: Generic implementation of wxTimer class
4// Author: Vaclav Slavik
5// Id: $Id$
6// Copyright: (c) Vaclav Slavik
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_GENERIC_PRIVATE_TIMER_H_
11#define _WX_GENERIC_PRIVATE_TIMER_H_
12
13#if wxUSE_TIMER
14
15#include "wx/private/timer.h"
16
17//-----------------------------------------------------------------------------
18// wxTimer
19//-----------------------------------------------------------------------------
20
21class wxTimerDesc;
22
23class WXDLLIMPEXP_BASE wxGenericTimerImpl : public wxTimerImpl
24{
25public:
26 wxGenericTimerImpl(wxTimer* timer) : wxTimerImpl(timer) { Init(); }
27 virtual ~wxGenericTimerImpl();
28
29 virtual bool Start(int millisecs = -1, bool oneShot = false);
30 virtual void Stop();
31
32 virtual bool IsRunning() const;
33
34 // implementation
35 static void NotifyTimers();
36
37protected:
38 void Init();
39
40private:
41 wxTimerDesc *m_desc;
42};
43
44#endif // wxUSE_TIMER
45
46#endif // _WX_GENERIC_PRIVATE_TIMER_H_