Salome HOME
Do not use Fields and Groups in selection in sketcher
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Recover.h
index e7f57d4262cae2747e5555218ecae4a95185a382..29cae46d3dc55317c05b7e16f0c3c9b62f993a17 100644 (file)
@@ -1,8 +1,22 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-// File:        FeaturesAPI_Recover.h
-// Created:     04 August 2016
-// Author:      Mikhail Ponikarov
+// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+//
+// 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, 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
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+//
 
 #ifndef FeaturesAPI_Recover_H_
 #define FeaturesAPI_Recover_H_
@@ -38,10 +52,11 @@ public:
   FEATURESAPI_EXPORT
   virtual ~FeaturesAPI_Recover();
 
-  INTERFACE_3(FeaturesPlugin_Recover::ID(),
-              baseFeature, FeaturesPlugin_Recover::BASE_FEATURE(), ModelAPI_AttributeReference, /** Concealed feature */,
-              recoveredList, FeaturesPlugin_Recover::RECOVERED_ENTITIES(), ModelAPI_AttributeRefList, /** Recover list*/,
-              isPersistent, FeaturesPlugin_Recover::PERSISTENT(), ModelAPI_AttributeBoolean, /** Is persistent flag */)
+  INTERFACE_2(FeaturesPlugin_Recover::ID(),
+              baseFeature, FeaturesPlugin_Recover::BASE_FEATURE(),
+              ModelAPI_AttributeReference, /** Concealed feature */,
+              recoveredList, FeaturesPlugin_Recover::RECOVERED_ENTITIES(),
+              ModelAPI_AttributeRefList, /** Recover list*/)
 
   /// Set base feature.
   FEATURESAPI_EXPORT
@@ -51,10 +66,6 @@ public:
   FEATURESAPI_EXPORT
   void setRecoveredList(const std::list<ModelHighAPI_Selection>& theRecoverList);
 
-  /// Set auxiliary
-  FEATURESAPI_EXPORT
-  void setIsPersistent(bool thePersistent);
-
   /// Dump wrapped feature
   FEATURESAPI_EXPORT
   virtual void dump(ModelHighAPI_Dumper& theDumper) const;