158347Speter/* 258347Speter * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de> 399204Ssheldonh * Copyright 2013, Rene Gollent, rene@gollent.com. 499204Ssheldonh * Distributed under the terms of the MIT License. 575412Sache */ 675412Sache#ifndef JOB_STATE_LISTENER_H 775412Sache#define JOB_STATE_LISTENER_H 875412Sache 975412Sache 1075412Sache#include <Job.h> 1175412Sache 1275412Sache 1375412Sacheclass JobStateListener : public BSupportKit::BJobStateListener { 1475412Sachepublic: 1575412Sache JobStateListener(); 1675412Sache 1775412Sache virtual void JobStarted(BSupportKit::BJob* job); 1875412Sache virtual void JobSucceeded(BSupportKit::BJob* job); 1975412Sache virtual void JobFailed(BSupportKit::BJob* job); 2075412Sache virtual void JobAborted(BSupportKit::BJob* job); 2175412Sache}; 2275412Sache 2375412Sache 2475412Sache#endif // JOB_STATE_LISTENER_H 2575412Sache