]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/carbon/evtloop.h
555930319e5c7ee1918da2885a33174800549335
[wxWidgets.git] / include / wx / osx / carbon / evtloop.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/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 struct OpaqueEventRef;
16 typedef OpaqueEventRef *EventRef;
17
18 class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop
19 {
20 public:
21 wxGUIEventLoop();
22
23 virtual void WakeUp();
24
25 protected:
26 virtual int DoDispatchTimeout(unsigned long timeout);
27
28 virtual void OSXDoRun();
29 virtual void OSXDoStop();
30
31 virtual CFRunLoopRef CFGetCurrentRunLoop() const;
32 };
33
34 #endif // _WX_MAC_CARBON_EVTLOOP_H_
35