122 |
* @param wait If true, this function will wait for the next event |
* @param wait If true, this function will wait for the next event |
123 |
* and handle it before returning; if false, will return |
* and handle it before returning; if false, will return |
124 |
* immediately. |
* immediately. |
125 |
|
* @return Whether something happened |
126 |
*/ |
*/ |
127 |
virtual void eventLoop(bool wait) = 0; |
virtual bool eventLoop(bool wait) = 0; |
128 |
|
|
129 |
/** Interrupt event loop waiting. |
/** Interrupt event loop waiting. |
130 |
* Because there are things happening in multiple threads in Java, |
* Because there are things happening in multiple threads in Java, |