+ wxCFEventLoop();
+ virtual ~wxCFEventLoop();
+
+ // enters a loop calling OnNextIteration(), Pending() and Dispatch() and
+ // terminating when Exit() is called
+ virtual int Run();
+
+ // sets the "should exit" flag and wakes up the loop so that it terminates
+ // soon
+ virtual void Exit(int rc = 0);
+
+ // return true if any events are available
+ virtual bool Pending() const;
+
+ // dispatch a single event, return false if we should exit from the loop
+ virtual bool Dispatch();
+
+ // same as Dispatch() but doesn't wait for longer than the specified (in
+ // ms) timeout, return true if an event was processed, false if we should
+ // exit the loop or -1 if timeout expired
+ virtual int DispatchTimeout(unsigned long timeout);
+
+ // implement this to wake up the loop: usually done by posting a dummy event
+ // to it (can be called from non main thread)
+ virtual void WakeUp();
+
+ virtual bool YieldFor(long eventsToProcess);
+