projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VC6 doesn't support using keyword (closes #10322)
[wxWidgets.git]
/
include
/
wx
/
dfb
/
evtloop.h
diff --git
a/include/wx/dfb/evtloop.h
b/include/wx/dfb/evtloop.h
index 11366e70a3c0adf658b470aabc61c345977f90ce..4c3380819a62f1253346b2558a144bfbe780d567 100644
(file)
--- a/
include/wx/dfb/evtloop.h
+++ b/
include/wx/dfb/evtloop.h
@@
-20,17
+20,22
@@
struct wxDFBEvent;
// wxEventLoop
// ----------------------------------------------------------------------------
// wxEventLoop
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxEventLoop : public wxEventLoopManual
+class WXDLLIMPEXP_CORE wx
GUI
EventLoop : public wxEventLoopManual
{
public:
{
public:
- wxEventLoop();
+ wx
GUI
EventLoop();
virtual bool Pending() const;
virtual bool Dispatch();
virtual bool Pending() const;
virtual bool Dispatch();
+ virtual int DispatchTimeout(unsigned long timeout);
// 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();
protected:
virtual void WakeUp();
virtual void OnNextIteration();
@@
-39,13
+44,14
@@
protected:
private:
static void InitBuffer();
private:
static void InitBuffer();
+ static void CleanUp();
+
+ friend class wxApp; // calls CleanUp() and WakeUp()
private:
static wxIDirectFBEventBufferPtr ms_buffer;
private:
static wxIDirectFBEventBufferPtr ms_buffer;
- friend class wxApp; // calls WakeUp()
-
- DECLARE_NO_COPY_CLASS(wxEventLoop)
+ DECLARE_NO_COPY_CLASS(wxGUIEventLoop)
};
#endif // _WX_DFB_EVTLOOP_H_
};
#endif // _WX_DFB_EVTLOOP_H_