]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk1/timer.h
String changes for translations,
[wxWidgets.git] / include / wx / gtk1 / timer.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: timer.h
3// Purpose:
4// Author: Robert Roebling
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKTIMERH__
12#define __GTKTIMERH__
13
14#ifdef __GNUG__
15 #pragma interface "timer.h"
16#endif
17
18//-----------------------------------------------------------------------------
19// wxTimer
20//-----------------------------------------------------------------------------
21
22class wxTimer : public wxTimerBase
23{
24public:
25 wxTimer();
26 ~wxTimer();
27
28 virtual bool Start( int millisecs = -1, bool oneShot = FALSE );
29 virtual void Stop();
30
31 virtual bool IsRunning() const { return m_tag != -1; }
32
33protected:
34 int m_tag;
35
36private:
37 DECLARE_ABSTRACT_CLASS(wxTimer)
38};
39
40#endif // __GTKTIMERH__