X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..96defed03c190cb602ed4f7ca6e962a49e10dddd:/include/wx/dfb/app.h diff --git a/include/wx/dfb/app.h b/include/wx/dfb/app.h index f1e8041ab6..b76af79ce3 100644 --- a/include/wx/dfb/app.h +++ b/include/wx/dfb/app.h @@ -11,7 +11,9 @@ #ifndef _WX_DFB_APP_H_ #define _WX_DFB_APP_H_ -#include "wx/dfb/ifacehelpers.h" +#include "wx/dfb/dfbptr.h" + +#include "wx/vidmode.h" wxDFB_DECLARE_INTERFACE(IDirectFB); @@ -30,20 +32,16 @@ public: virtual void CleanUp(); virtual void WakeUpIdle(); - virtual bool Yield(bool onlyIfNeeded = false); virtual wxVideoMode GetDisplayMode() const; virtual bool SetDisplayMode(const wxVideoMode& mode); - // implementation - get singleton DirectFB interface - IDirectFBPtr GetDirectFBInterface(); - private: - IDirectFBPtr m_dfb; wxVideoMode m_videoMode; + virtual bool DoYield(bool onlyIfNeeded, long eventsToProcess); + DECLARE_DYNAMIC_CLASS(wxApp) - DECLARE_EVENT_TABLE() }; #endif // _WX_DFB_APP_H_