]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/timer.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
19 #include "wx/object.h"
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
27 //-----------------------------------------------------------------------------
29 //-----------------------------------------------------------------------------
31 class wxTimer
: public wxObject
37 int Interval() const { return m_time
; }
39 bool OneShot() const { return m_oneShot
; }
41 virtual bool Start( int millisecs
= -1, bool oneShot
= FALSE
);
44 virtual void Notify() = 0; // override this
52 DECLARE_ABSTRACT_CLASS(wxTimer
)
55 #endif // __GTKTIMERH__