Needed for correct functioning of JNI.
bool taskDone(PoolIndex pool, Beatmup::AbstractTask &task, bool aborted)
Called when a task is successfully finished.
void threadCreated(PoolIndex pool)
Called when a new worker thread is created.
ContextEventListener(JNIEnv *jenv)
void gpuInitFail(PoolIndex pool, const std::exception &ex)
Called when GPU initialization failed.
void taskFail(PoolIndex pool, Beatmup::AbstractTask &task, const std::exception &ex)
Called when a task fails.
void threadTerminating(PoolIndex pool)
Called when a worker thread finished.
An event listener (bunch of callbacks)