2008-06-11 12:30:48 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2010-07-13 09:29:58 -04:00
|
|
|
// Name: wx/osx/carbon/evtloop.h
|
2008-06-11 12:30:48 -04:00
|
|
|
// Purpose: declaration of wxEventLoop for wxMac
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2006-01-12
|
|
|
|
// Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MAC_CARBON_EVTLOOP_H_
|
|
|
|
#define _WX_MAC_CARBON_EVTLOOP_H_
|
|
|
|
|
2009-12-05 14:57:58 -05:00
|
|
|
struct OpaqueEventRef;
|
2008-12-26 17:28:34 -05:00
|
|
|
typedef OpaqueEventRef *EventRef;
|
|
|
|
|
2009-10-22 07:36:35 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop
|
2008-06-11 12:30:48 -04:00
|
|
|
{
|
|
|
|
public:
|
2008-09-02 12:53:23 -04:00
|
|
|
wxGUIEventLoop();
|
2008-06-11 12:30:48 -04:00
|
|
|
|
2011-07-19 13:56:57 -04:00
|
|
|
virtual void WakeUp();
|
|
|
|
|
2009-10-22 07:36:35 -04:00
|
|
|
protected:
|
2010-03-15 11:40:47 -04:00
|
|
|
virtual int DoDispatchTimeout(unsigned long timeout);
|
2008-12-26 17:28:34 -05:00
|
|
|
|
2013-07-02 20:24:34 -04:00
|
|
|
virtual void OSXDoRun();
|
|
|
|
virtual void OSXDoStop();
|
2010-04-22 03:00:32 -04:00
|
|
|
|
|
|
|
virtual CFRunLoopRef CFGetCurrentRunLoop() const;
|
2008-06-11 12:30:48 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_MAC_CARBON_EVTLOOP_H_
|
|
|
|
|