** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: backgroundmgr.h,v 1.3 2001/02/23 02:06:02 kevin Exp $
+** $Id: backgroundmgr.h,v 1.4 2001/02/23 18:56:56 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
BackgroundManagerCanvas* m_pCanvas;
int m_iNumTasks;
- typedef std::vector<BackgroundTask*> TaskContainer;
+ typedef std::vector<BackgroundSupervisor*> TaskContainer;
typedef std::vector<wxGauge*> GaugeContainer;
typedef std::vector<std::string*> StringContainer;
typedef std::vector<int> PositionContainer;
public:
BackgroundManager ();
- wxGauge* addTask (BackgroundTask* pTask, int iNumUnits, const char* const pszTaskName);
- void taskDone (BackgroundTask* pTask);
- bool isCancelling (BackgroundTask* pTask);
+ wxGauge* addTask (BackgroundSupervisor* pTask, int iNumUnits, const char* const pszTaskName);
+ void taskDone (BackgroundSupervisor* pTask);
+ bool isCancelling (BackgroundSupervisor* pTask);
TaskContainer& getTasks() { return m_vecpBackgroundTasks;}
GaugeContainer& getGauges() { return m_vecpGauges;}