X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86e9b8f28fc8db834628e1528e12f3eeb1f6e216..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/dfb/evtloop.h diff --git a/include/wx/dfb/evtloop.h b/include/wx/dfb/evtloop.h index 9b010a1034..7a0dd0e056 100644 --- a/include/wx/dfb/evtloop.h +++ b/include/wx/dfb/evtloop.h @@ -3,7 +3,6 @@ // Purpose: declares wxEventLoop class // Author: Vaclav Slavik // Created: 2006-08-16 -// RCS-ID: $Id$ // Copyright: (c) 2006 REA Elektronik GmbH // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -25,14 +24,12 @@ class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxConsoleEventLoop public: wxGUIEventLoop(); + virtual bool YieldFor(long eventsToProcess); + // returns DirectFB event buffer used by wx static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer(); private: - // wxYield implementation: iterate the loop as long as there are any - // pending events - void Yield(); - static void InitBuffer(); static void CleanUp(); @@ -42,7 +39,7 @@ private: static wxIDirectFBEventBufferPtr ms_buffer; static int ms_bufferFd; - DECLARE_NO_COPY_CLASS(wxGUIEventLoop) + wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop); }; #endif // _WX_DFB_EVTLOOP_H_