From b3cc6420d7d6a8e7ac3c0d860f2330bf0e6dafd3 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 25 Dec 2007 12:21:19 +0000 Subject: Adding small runner helper. --- lib/TaskMan.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc index c83cf26..df37a04 100644 --- a/lib/TaskMan.cc +++ b/lib/TaskMan.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: TaskMan.cc,v 1.49 2007-12-20 23:20:46 pixel Exp $ */ +/* $Id: TaskMan.cc,v 1.50 2007-12-25 12:21:19 pixel Exp $ */ #ifndef _WIN32 #include @@ -384,6 +384,14 @@ std::vector::iterator TaskMan::FindTask(Task * t) throw (GeneralExceptio throw TaskNotFound(); } +std::vector::iterator TaskMan::begin() { + return TaskList.begin(); +} + +std::vector::iterator TaskMan::end() { + return TaskList.end(); +} + // Should only be called by the destructor of a task. void TaskMan::RemoveFromWatches(Task * t) { if (!w4ha.empty()) { -- cgit v1.2.3