HaikuDepot: notify work status from main window
[haiku.git] / src / apps / haikudepot / model / JobStateListener.h
blob427d1f488527689e5ab621f0074939e41b3c2e23
1 /*
2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Copyright 2013, Rene Gollent, rene@gollent.com.
4 * Distributed under the terms of the MIT License.
5 */
6 #ifndef JOB_STATE_LISTENER_H
7 #define JOB_STATE_LISTENER_H
10 #include <Job.h>
13 class JobStateListener : public BSupportKit::BJobStateListener {
14 public:
15 JobStateListener();
17 virtual void JobStarted(BSupportKit::BJob* job);
18 virtual void JobSucceeded(BSupportKit::BJob* job);
19 virtual void JobFailed(BSupportKit::BJob* job);
20 virtual void JobAborted(BSupportKit::BJob* job);
24 #endif // JOB_STATE_LISTENER_H