mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Upgrade WX to r74856, mainly to support @2x.
This commit is contained in:
19
Externals/wxWidgets3/include/wx/unix/evtloop.h
vendored
19
Externals/wxWidgets3/include/wx/unix/evtloop.h
vendored
@ -3,7 +3,6 @@
|
||||
// Purpose: declares wxEventLoop class
|
||||
// Author: Lukasz Michalski (lm@zork.pl)
|
||||
// Created: 2007-05-07
|
||||
// RCS-ID: $Id: evtloop.h 65680 2010-09-30 11:44:45Z VZ $
|
||||
// Copyright: (c) 2007 Lukasz Michalski
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@ -17,13 +16,9 @@
|
||||
// wxConsoleEventLoop
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class wxEventLoopSource;
|
||||
class wxFDIODispatcher;
|
||||
class wxUnixEventLoopSource;
|
||||
|
||||
namespace wxPrivate
|
||||
{
|
||||
class PipeIOHandler;
|
||||
}
|
||||
class wxWakeUpPipeMT;
|
||||
|
||||
class WXDLLIMPEXP_BASE wxConsoleEventLoop
|
||||
#ifdef __WXOSX__
|
||||
@ -45,18 +40,16 @@ public:
|
||||
virtual bool IsOk() const { return m_dispatcher != NULL; }
|
||||
virtual bool YieldFor(long WXUNUSED(eventsToProcess)) { return true; }
|
||||
|
||||
#if wxUSE_EVENTLOOP_SOURCE
|
||||
virtual wxEventLoopSource *
|
||||
AddSourceForFD(int fd, wxEventLoopSourceHandler *handler, int flags);
|
||||
#endif // wxUSE_EVENTLOOP_SOURCE
|
||||
|
||||
protected:
|
||||
virtual void OnNextIteration();
|
||||
|
||||
private:
|
||||
// pipe used for wake up messages: when a child thread wants to wake up
|
||||
// the event loop in the main thread it writes to this pipe
|
||||
wxPrivate::PipeIOHandler *m_wakeupPipe;
|
||||
wxWakeUpPipeMT *m_wakeupPipe;
|
||||
|
||||
// the event loop source used to monitor this pipe
|
||||
wxEventLoopSource* m_wakeupSource;
|
||||
|
||||
// either wxSelectDispatcher or wxEpollDispatcher
|
||||
wxFDIODispatcher *m_dispatcher;
|
||||
|
Reference in New Issue
Block a user