X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69cc4323fda247afc21e45839067e0a139bf2132..c2a738e372126950e5c70f72a3e8876f1ac89bf5:/include/wx/unix/evtloop.h diff --git a/include/wx/unix/evtloop.h b/include/wx/unix/evtloop.h index 34e44be303..40d3007787 100644 --- a/include/wx/unix/evtloop.h +++ b/include/wx/unix/evtloop.h @@ -18,6 +18,7 @@ // ---------------------------------------------------------------------------- class wxFDIODispatcher; +class wxUnixEventLoopSource; namespace wxPrivate { @@ -39,6 +40,11 @@ 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();