1 /* 2 * Copyright 2013, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Ingo Weinhold <ingo_weinhold@gmx.de> 7 */ 8 #ifndef JOB_H 9 #define JOB_H 10 11 12 #include <Referenceable.h> 13 #include <util/DoublyLinkedList.h> 14 15 16 class Job : public BReferenceable, public DoublyLinkedListLinkImpl<Job> { 17 public: 18 Job(); 19 virtual ~Job(); 20 21 virtual void Do() = 0; 22 }; 23 24 25 #endif // JOB_H 26