]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/timer.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Generic implementation of wxTimer class
4 // Author: Vaclav Slavik
6 // Copyright: (c) Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __WX_TIMER_H__
12 #define __WX_TIMER_H__
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface "timer.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
24 class WXDLLEXPORT wxTimer
: public wxTimerBase
28 wxTimer(wxEvtHandler
*owner
, int timerid
= -1) : wxTimerBase(owner
, timerid
)
32 virtual bool Start(int millisecs
= -1, bool oneShot
= false);
35 virtual bool IsRunning() const;
38 static void NotifyTimers();
46 DECLARE_ABSTRACT_CLASS(wxTimer
)
49 #endif // __WX_TIMER_H__