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