1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/osx/evtloop.h
3 // Purpose: simply forwards to wx/mac/carbon/evtloop.h for consistency with
4 // the other Mac headers
5 // Author: Vadim Zeitlin
9 // Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
10 // Licence: wxWindows licence
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_OSX_EVTLOOP_H_
14 #define _WX_OSX_EVTLOOP_H_
16 typedef struct __CFRunLoop
* CFRunLoopRef
;
18 class WXDLLIMPEXP_BASE wxCFEventLoop
: public wxEventLoopManual
21 #if wxUSE_EVENTLOOP_SOURCE
22 virtual wxEventLoopSource
*
23 AddSourceForFD(int fd
, wxEventLoopSourceHandler
*handler
, int flags
);
24 #endif // wxUSE_EVENTLOOP_SOURCE
27 // get the currently executing CFRunLoop
28 virtual CFRunLoopRef
CFGetCurrentRunLoop() const = 0;
32 #ifdef __WXOSX_COCOA__
33 #include "wx/osx/cocoa/evtloop.h"
35 #include "wx/osx/carbon/evtloop.h"
39 #endif // _WX_OSX_EVTLOOP_H_