xref: /haiku/src/bin/pkgman/JobStateListener.h (revision 922e7ba1f3228e6f28db69b0ded8f86eb32dea17)
1 /*
2  * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef JOB_STATE_LISTENER_H
6 #define JOB_STATE_LISTENER_H
7 
8 
9 #include <package/Job.h>
10 
11 
12 struct JobStateListener : public BPackageKit::BJobStateListener {
13 	virtual	void JobStarted(BPackageKit::BJob* job);
14 	virtual	void JobSucceeded(BPackageKit::BJob* job);
15 	virtual	void JobFailed(BPackageKit::BJob* job);
16 	virtual	void JobAborted(BPackageKit::BJob* job);
17 };
18 
19 
20 #endif	// JOB_STATE_LISTENER_H
21