]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/carbon/evtloop.h
For clarity, moved includes to the top of the file. Also added #include wx/dialog.h.
[wxWidgets.git] / include / wx / osx / carbon / evtloop.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mac/carbon/evtloop.h
3 // Purpose: declaration of wxEventLoop for wxMac
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 2006-01-12
7 // RCS-ID: $Id$
8 // Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MAC_CARBON_EVTLOOP_H_
13 #define _WX_MAC_CARBON_EVTLOOP_H_
14
15 class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopManual
16 {
17 public:
18 wxGUIEventLoop();
19
20 virtual bool Pending() const;
21 virtual bool Dispatch();
22
23 // implement base class pure virtual
24 virtual void WakeUp();
25 private:
26 double m_sleepTime;
27 };
28
29 #endif // _WX_MAC_CARBON_EVTLOOP_H_
30