X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fthreadrecon.h;h=f8d2940ee53483fc54da73dc3b12edc0386cc0a0;hb=e98a8a9d72a7b919debbbc9d1b0f237fe71c0fb3;hp=f4f91057787b14351797669be6655b00b17796df;hpb=3b09207d7c37bc3d48e331657353123ed2f66ed9;p=ctsim.git diff --git a/src/threadrecon.h b/src/threadrecon.h index f4f9105..f8d2940 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.8 2001/02/25 06:32:12 kevin Exp $ +** $Id: threadrecon.h,v 1.11 2001/03/02 21:11:50 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 @@ -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); @@ -125,7 +128,7 @@ public: : BackgroundWorkerThread (pSupervisor, iThread, iStartView, iNumViews) {} - SetParameters (ProjectionFileView* pProjFile, ImageFile* pImageFile, + void SetParameters (ProjectionFileView* pProjFile, ImageFile* pImageFile, const char* const pszFilterName, double dFilterParam, const char* const pszFilterMethod, int iZeropad, const char* const pszFilterGenerationName, const char* const pszInterpName, int iInterpParam, const char* pszBackprojectName); @@ -135,6 +138,6 @@ public: virtual void OnExit(); }; - -#endif +#endif // HAVE_WXTHREADS +#endif // _THREADRECON_H_