2008-06-11 12:30:48 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/mac/carbon/evtloop.h
|
|
|
|
// Purpose: declaration of wxEventLoop for wxMac
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2006-01-12
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// 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
|
|
|
|
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
|
|
|
|
2010-03-17 03:14:03 -04:00
|
|
|
virtual void DoRun();
|
|
|
|
|
|
|
|
virtual void DoStop();
|
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_
|
|
|
|
|