]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/carbon/evtloop.h
Make storing non-trivial data in wxThreadSpecificInfo possible.
[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 // Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_MAC_CARBON_EVTLOOP_H_
12 #define _WX_MAC_CARBON_EVTLOOP_H_
13
14 struct OpaqueEventRef;
15 typedef OpaqueEventRef *EventRef;
16
17 class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop
18 {
19 public:
20 wxGUIEventLoop();
21
22 virtual void WakeUp();
23
24 protected:
25 virtual int DoDispatchTimeout(unsigned long timeout);
26
27 virtual void OSXDoRun();
28 virtual void OSXDoStop();
29
30 virtual CFRunLoopRef CFGetCurrentRunLoop() const;
31 };
32
33 #endif // _WX_MAC_CARBON_EVTLOOP_H_
34