#ifndef _WX_DFB_EVTLOOP_H_
#define _WX_DFB_EVTLOOP_H_
-#include "wx/dfb/ifacehelpers.h"
+#include "wx/dfb/dfbptr.h"
wxDFB_DECLARE_INTERFACE(IDirectFBEventBuffer);
struct wxDFBEvent;
virtual bool Dispatch();
// returns DirectFB event buffer used by wx
- static IDirectFBEventBufferPtr GetDirectFBEventBuffer();
+ static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer();
protected:
virtual void WakeUp();
private:
static void InitBuffer();
+ static void CleanUp();
-private:
- static IDirectFBEventBufferPtr ms_buffer;
+ friend class wxApp; // calls CleanUp() and WakeUp()
- friend class wxApp; // calls WakeUp()
+private:
+ static wxIDirectFBEventBufferPtr ms_buffer;
DECLARE_NO_COPY_CLASS(wxEventLoop)
};