2 * ResourceScenario.h - TaskJuggler
4 * Copyright (c) 2001, 2002, 2003, 2004, 2005 by Chris Schlaeger <cs@kde.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of version 2 of the GNU General Public License as
8 * published by the Free Software Foundation.
13 #ifndef _ResourceScenario_h_
14 #define _ResourceScenario_h_
18 class ResourceScenario
20 friend class Resource;
29 ~ResourceScenario() { }
31 void addTask(const Task* t)
33 if (allocatedTasks.findRef(t) < 0)
34 allocatedTasks.append(t);
37 TaskList allocatedTasks;