You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
232 B

#ifndef TASK_HPP
#define TASK_HPP
#include <time.h>
class Task
{
public:
virtual void run () = 0;
virtual bool isItStucked () const = 0;
protected:
time_t m_startedToRun;
time_t m_timeOut;
};
#endif // TASK_HPP