// wxEventLoop
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxEventLoop : public wxEventLoopManual
+class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopManual
{
public:
- wxEventLoop();
+ wxGUIEventLoop();
virtual bool Pending() const;
virtual bool Dispatch();
// returns DirectFB event buffer used by wx
static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer();
+ // wxYield implementation: iterate the loop as long as there are any
+ // pending events
+ void Yield();
+
protected:
virtual void WakeUp();
virtual void OnNextIteration();
private:
static wxIDirectFBEventBufferPtr ms_buffer;
- DECLARE_NO_COPY_CLASS(wxEventLoop)
+ DECLARE_NO_COPY_CLASS(wxGUIEventLoop)
};
#endif // _WX_DFB_EVTLOOP_H_