// ----------------------------------------------------------------------------
class wxFDIODispatcher;
+class wxUnixEventLoopSource;
namespace wxPrivate
{
class PipeIOHandler;
-};
+}
class WXDLLIMPEXP_BASE wxConsoleEventLoop : public wxEventLoopManual
{
virtual int DispatchTimeout(unsigned long timeout);
virtual void WakeUp();
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();