]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/timer.h
   1 ///////////////////////////////////////////////////////////////////////////// 
   3 // Purpose:     wxTimer class 
   4 // Author:      David Webster 
   8 // Copyright:   (c) David Webster 
   9 // Licence:     wxWindows licence 
  10 ///////////////////////////////////////////////////////////////////////////// 
  16     #pragma interface "timer.h" 
  19 #include "wx/object.h" 
  21 class WXDLLEXPORT wxTimer
: public wxTimerBase
 
  23 friend void wxProcessTimer(wxTimer
& timer
); 
  27     wxTimer( wxEvtHandler
* pOwner
 
  36     virtual void Notify(void); 
  37     virtual bool Start( int  nMilliseconds 
= -1 
  38                        ,bool bOneShot 
= FALSE
 
  40     virtual void Stop(void); 
  42     inline virtual bool IsRunning(void) const { return m_ulId 
!= 0L; } 
  43     inline          int GetTimerId(void) const { return m_idTimer
; } 
  52     DECLARE_ABSTRACT_CLASS(wxTimer
) 
  55 extern ULONG 
wxTimerProc( HWND  
WXUNUSED(hwnd
)