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 8 9 10#include <Job.h> 11 12 13class JobStateListener : public BSupportKit::BJobStateListener { 14public: 15 JobStateListener(); 16 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); 21}; 22 23 24#endif // JOB_STATE_LISTENER_H 25