projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no changes, just remove #if'd out code
[wxWidgets.git]
/
include
/
wx
/
dfb
/
evtloop.h
diff --git
a/include/wx/dfb/evtloop.h
b/include/wx/dfb/evtloop.h
index 9845acd2653fb6a67d6705f7322ae38b433c12b4..2a58619ed1dfab9b6d8b13cd7d8a98970fe36d53 100644
(file)
--- a/
include/wx/dfb/evtloop.h
+++ b/
include/wx/dfb/evtloop.h
@@
-12,45
+12,35
@@
#define _WX_DFB_EVTLOOP_H_
#include "wx/dfb/dfbptr.h"
#define _WX_DFB_EVTLOOP_H_
#include "wx/dfb/dfbptr.h"
+#include "wx/unix/evtloop.h"
wxDFB_DECLARE_INTERFACE(IDirectFBEventBuffer);
wxDFB_DECLARE_INTERFACE(IDirectFBEventBuffer);
-struct wxDFBEvent;
// ----------------------------------------------------------------------------
// wxEventLoop
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxEventLoop
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wx
EventLoop : public wxEventLoopManual
+class WXDLLIMPEXP_CORE wx
GUIEventLoop : public wxConsoleEventLoop
{
public:
{
public:
- wxEventLoop();
+ wx
GUI
EventLoop();
- virtual bool Pending() const;
- virtual bool Dispatch();
+ virtual bool YieldFor(long eventsToProcess);
// returns DirectFB event buffer used by wx
static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer();
// 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();
-
- virtual void HandleDFBEvent(const wxDFBEvent& event);
-
private:
static void InitBuffer();
static void CleanUp();
private:
static void InitBuffer();
static void CleanUp();
- friend class wxApp; // calls CleanUp()
and WakeUp()
+ friend class wxApp; // calls CleanUp()
private:
static wxIDirectFBEventBufferPtr ms_buffer;
private:
static wxIDirectFBEventBufferPtr ms_buffer;
+ static int ms_bufferFd;
- DECLARE_NO_COPY_CLASS(wxEventLoop)
+ wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
};
#endif // _WX_DFB_EVTLOOP_H_
};
#endif // _WX_DFB_EVTLOOP_H_