** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: docs.h,v 1.26 2001/02/25 16:21:36 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 HAVE_WXTHREADS
typedef BackgroundSupervisor BackgroundObject;
typedef std::vector<BackgroundObject*> BackgroundContainer;
BackgroundContainer m_vecpBackgroundSupervisors;
wxCriticalSection m_criticalSection;
+#endif
public:
BackgroundProcessingDocument()
{}
void cancelRunningTasks();
- void OnAddBackground (wxCommandEvent& event);
- void OnRemoveBackground (wxCommandEvent& event);
+#ifdef HAVE_WXTHREADS
+ void addBackgroundSupervisor (BackgroundSupervisor* pSupervisor);
+ void removeBackgroundSupervisor (BackgroundSupervisor* pSupervisor);
+#endif
DECLARE_EVENT_TABLE()
};