]>
Commit | Line | Data |
---|---|---|
5c6eb3a8 | 1 | /////////////////////////////////////////////////////////////////////////////// |
233f5738 | 2 | // Name: wx/osx/carbon/evtloop.h |
5c6eb3a8 SC |
3 | // Purpose: declaration of wxEventLoop for wxMac |
4 | // Author: Vadim Zeitlin | |
5 | // Modified by: | |
6 | // Created: 2006-01-12 | |
5c6eb3a8 SC |
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 | ||
65391c8f | 14 | struct OpaqueEventRef; |
9af42efd VZ |
15 | typedef OpaqueEventRef *EventRef; |
16 | ||
5cd99866 | 17 | class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop |
5c6eb3a8 SC |
18 | { |
19 | public: | |
524c47aa | 20 | wxGUIEventLoop(); |
5c6eb3a8 | 21 | |
3e88d487 SC |
22 | virtual void WakeUp(); |
23 | ||
5cd99866 | 24 | protected: |
0056673c | 25 | virtual int DoDispatchTimeout(unsigned long timeout); |
9af42efd | 26 | |
8d40c05f VZ |
27 | virtual void OSXDoRun(); |
28 | virtual void OSXDoStop(); | |
3328e0ca SC |
29 | |
30 | virtual CFRunLoopRef CFGetCurrentRunLoop() const; | |
5c6eb3a8 SC |
31 | }; |
32 | ||
5c6eb3a8 SC |
33 | #endif // _WX_MAC_CARBON_EVTLOOP_H_ |
34 |