]>
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 | |
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 | ||
65391c8f | 15 | struct OpaqueEventRef; |
9af42efd VZ |
16 | typedef OpaqueEventRef *EventRef; |
17 | ||
5cd99866 | 18 | class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop |
5c6eb3a8 SC |
19 | { |
20 | public: | |
524c47aa | 21 | wxGUIEventLoop(); |
5c6eb3a8 | 22 | |
3e88d487 SC |
23 | virtual void WakeUp(); |
24 | ||
5cd99866 | 25 | protected: |
0056673c | 26 | virtual int DoDispatchTimeout(unsigned long timeout); |
9af42efd | 27 | |
8d40c05f VZ |
28 | virtual void OSXDoRun(); |
29 | virtual void OSXDoStop(); | |
3328e0ca SC |
30 | |
31 | virtual CFRunLoopRef CFGetCurrentRunLoop() const; | |
5c6eb3a8 SC |
32 | }; |
33 | ||
5c6eb3a8 SC |
34 | #endif // _WX_MAC_CARBON_EVTLOOP_H_ |
35 |