** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: docs.h,v 1.27 2001/03/05 15:10:58 kevin Exp $
+** $Id: docs.h,v 1.28 2001/03/05 17:26:46 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
{
private:
DECLARE_DYNAMIC_CLASS(BackgroundProcessingDocument)
-#ifdef CTSIM_THREADS
+#ifdef HAVE_WXTHREADS
typedef BackgroundSupervisor BackgroundObject;
typedef std::vector<BackgroundObject*> BackgroundContainer;
BackgroundContainer m_vecpBackgroundSupervisors;
{}
void cancelRunningTasks();
-#ifdef CTSIM_THREADS
- void OnAddBackground (wxCommandEvent& event);
- void OnRemoveBackground (wxCommandEvent& event);
+#ifdef HAVE_WXTHREADS
+ void addBackgroundSupervisor (BackgroundSupervisor* pSupervisor);
+ void removeBackgroundSupervisor (BackgroundSupervisor* pSupervisor);
#endif
DECLARE_EVENT_TABLE()