]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/timer.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
20 #include "wx/object.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
28 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 class wxTimer
: public wxObject
38 int Interval() const { return m_time
; }
40 bool OneShot() const { return m_oneShot
; }
42 virtual bool Start( int millisecs
= -1, bool oneShot
= FALSE
);
45 virtual void Notify() = 0; // override this
53 DECLARE_ABSTRACT_CLASS(wxTimer
)
56 #endif // __GTKTIMERH__