/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/timer.h
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/timer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 1158 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: timer.h
3 // Purpose: Generic implementation of wxTimer class
4 // Author: Vaclav Slavik
5 // Id: $Id: timer.h 41020 2006-09-05 20:47:48Z VZ $
6 // Copyright: (c) Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10
11 #ifndef __WX_TIMER_H__
12 #define __WX_TIMER_H__
13
14 //-----------------------------------------------------------------------------
15 // wxTimer
16 //-----------------------------------------------------------------------------
17
18 class wxTimerDesc;
19
20 class WXDLLEXPORT wxTimer : public wxTimerBase
21 {
22 public:
23 wxTimer() { Init(); }
24 wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid)
25 { Init(); }
26 virtual ~wxTimer();
27
28 virtual bool Start(int millisecs = -1, bool oneShot = false);
29 virtual void Stop();
30
31 virtual bool IsRunning() const;
32
33 // implementation
34 static void NotifyTimers();
35
36 protected:
37 void Init();
38
39 private:
40 wxTimerDesc *m_desc;
41
42 DECLARE_ABSTRACT_CLASS(wxTimer)
43 };
44
45 #endif // __WX_TIMER_H__

  ViewVC Help
Powered by ViewVC 1.1.22