Salome HOME
refs #525: autocolor of zones in a calculation case.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_UpdateObjectOp.h
index 735b01bfe94aa625ecc60a602d14c839bfaa0a2b..e6f3091d136b28d8cc73b2f8db89d17040a65393 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // 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
@@ -34,7 +34,8 @@ class HYDROGUI_UpdateObjectOp : public HYDROGUI_Operation
   Q_OBJECT
 
 public:
-  HYDROGUI_UpdateObjectOp( HYDROGUI_Module* theModule );
+  HYDROGUI_UpdateObjectOp( HYDROGUI_Module* theModule,
+                           const bool       theIsForced );
   virtual ~HYDROGUI_UpdateObjectOp();
 
 protected:
@@ -43,6 +44,9 @@ protected:
 
   virtual void               updateObject( const Handle_HYDROData_Entity& theObject,
                                            NCollection_Map<Handle(HYDROData_Entity)>& theMapOfTreated  ) const;
+
+private:
+  bool                       myIsForced;
 };
 
 #endif