Salome HOME
updated copyright message
[modules/gui.git] / src / SVTK / SVTK_ImageWriter.h
old mode 100755 (executable)
new mode 100644 (file)
index 5973b9f..7aa3b44
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,6 +23,7 @@
 #include <QThread>
 #include <string>
 
+class vtkAlgorithm;
 class vtkImageData;
 class QSemaphore;
 
@@ -30,6 +31,7 @@ class SVTK_ImageWriter : public QThread
 {
 public:
   SVTK_ImageWriter(QSemaphore* theSemaphore,
+                   vtkAlgorithm* theAlgorithm,
                    vtkImageData* theImageData,
                    const std::string& theName,
                    int theProgressive,
@@ -44,6 +46,7 @@ public:
   
  protected:
   QSemaphore* mySemaphore;
+  vtkAlgorithm *myAlgorithm;
   vtkImageData *myImageData;
   std::string myName;
   int   myProgressive;