2008-06-11 16:30:48 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2010-07-13 13:29:58 +00:00
|
|
|
// Name: wx/osx/carbon/evtloop.h
|
2008-06-11 16:30:48 +00: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 19:57:58 +00:00
|
|
|
struct OpaqueEventRef;
|
2008-12-26 22:28:34 +00:00
|
|
|
typedef OpaqueEventRef *EventRef;
|
|
|
|
|
2009-10-22 11:36:35 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop
|
2008-06-11 16:30:48 +00:00
|
|
|
{
|
|
|
|
public:
|
2008-09-02 16:53:23 +00:00
|
|
|
wxGUIEventLoop();
|
2008-06-11 16:30:48 +00:00
|
|
|
|
2011-07-19 17:56:57 +00:00
|
|
|
virtual void WakeUp();
|
|
|
|
|
2009-10-22 11:36:35 +00:00
|
|
|
protected:
|
2010-03-15 15:40:47 +00:00
|
|
|
virtual int DoDispatchTimeout(unsigned long timeout);
|
2008-12-26 22:28:34 +00:00
|
|
|
|
2013-07-03 00:24:34 +00:00
|
|
|
virtual void OSXDoRun();
|
|
|
|
virtual void OSXDoStop();
|
2010-04-22 07:00:32 +00:00
|
|
|
|
|
|
|
virtual CFRunLoopRef CFGetCurrentRunLoop() const;
|
2008-06-11 16:30:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_MAC_CARBON_EVTLOOP_H_
|
|
|
|
|