X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/palmos/evtloop.h diff --git a/include/wx/palmos/evtloop.h b/include/wx/palmos/evtloop.h index b0dadde7e5..07dc850733 100644 --- a/include/wx/palmos/evtloop.h +++ b/include/wx/palmos/evtloop.h @@ -1,10 +1,10 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/palmos/evtloop.h // Purpose: wxEventLoop class for Palm OS -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 2004-10-14 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -16,17 +16,19 @@ // wxEventLoop // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxEventLoop : public wxEventLoopBase +class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopBase { public: - wxEventLoop(); + wxGUIEventLoop(); // implement base class pure virtuals virtual int Run(); virtual void Exit(int rc = 0); virtual bool Pending() const; virtual bool Dispatch(); + virtual int DispatchTimeout(unsigned long timeout); virtual bool IsRunning() const; + virtual bool YieldFor(long eventsToProcess); // MSW-specific methods // -------------------- @@ -37,6 +39,7 @@ public: // process a single message virtual void ProcessMessage(WXMSG *msg); + virtual void WakeUp(); protected: // should we exit the loop?