2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
5 #ifndef JOB_STATE_LISTENER_H
6 #define JOB_STATE_LISTENER_H
12 class JobStateListener
: public BSupportKit::BJobStateListener
{
22 uint32 flags
= EXIT_ON_ERROR
25 virtual void JobStarted(BSupportKit::BJob
* job
);
26 virtual void JobSucceeded(BSupportKit::BJob
* job
);
27 virtual void JobFailed(BSupportKit::BJob
* job
);
28 virtual void JobAborted(BSupportKit::BJob
* job
);
35 #endif // JOB_STATE_LISTENER_H