X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fthreadrecon.h;h=89c58fe61ff27e3788b9a78a2453ec793627cac0;hb=bf055865d682c7ff942b36315985711a2c5e5793;hp=cbb2ea91df31b41616219b5a790bbdf3607caa68;hpb=df521cfe14a9e0b47bdcd98d1f67d03acf242162;p=ctsim.git diff --git a/src/threadrecon.h b/src/threadrecon.h index cbb2ea9..89c58fe 100644 --- a/src/threadrecon.h +++ b/src/threadrecon.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: threadrecon.h,v 1.9 2001/02/25 10:52:55 kevin Exp $ +** $Id: threadrecon.h,v 1.12 2001/03/05 19:14:40 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 @@ -28,6 +28,9 @@ #ifndef _THREADRECON_H #define _THREADRECON_H +#ifdef HAVE_WXTHREADS + + #include #include #include @@ -73,8 +76,8 @@ class ReconstructorSupervisor : public BackgroundSupervisor { private: std::vector m_vecpChildImageFile; - ProjectionFileDocument* m_pProjDoc; ProjectionFileView* m_pProjView; + ProjectionFileDocument* m_pProjDoc; const int m_iImageNX; const int m_iImageNY; @@ -90,7 +93,7 @@ private: const char* const m_pszLabel; public: - ReconstructorSupervisor (ProjectionFileView* pProjView, int iNX, int iNY, const char* pszFilterName, + ReconstructorSupervisor (SupervisorThread* pMyThread, ProjectionFileView* pProjView, int iNX, int iNY, const char* pszFilterName, double dFilterParam, const char* pszFilterMethod, int iZeropad, const char* pszFilterGenerationName, const char* pszInterpName, int iInterpParam, const char* pszBackprojectName, const char* const pszLabel); @@ -135,6 +138,6 @@ public: virtual void OnExit(); }; - -#endif +#endif // HAVE_WXTHREADS +#endif // _THREADRECON_H_