Salome HOME
Bos #24043: EDF 23094 - problem with dump.
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSelectorStore.h
old mode 100755 (executable)
new mode 100644 (file)
index a3584e3..c93c453
@@ -1,8 +1,21 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:        ModuleBase_WidgetSelectorStore.h
-// Created:     2 June 2014
-// Author:      Vitaly Smetannikov
+// Copyright (C) 2014-2021  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
+//
 
 #ifndef ModuleBase_WidgetSelectorStore_H
 #define ModuleBase_WidgetSelectorStore_H
@@ -17,32 +30,34 @@ class ModuleBase_IWorkshop;
 
 /**
 * \ingroup GUI
-  Provides for an attribute backup of values. It is possible to store/ restore the attribute values.
+  Provides for an attribute backup of values. 
+  It is possible to store/ restore the attribute values.
 */
-class MODULEBASE_EXPORT ModuleBase_WidgetSelectorStore
+class ModuleBase_WidgetSelectorStore
 {
  public:
 
   /// Constructor
-  ModuleBase_WidgetSelectorStore();
+  MODULEBASE_EXPORT ModuleBase_WidgetSelectorStore();
   /// Destructor
-  virtual ~ModuleBase_WidgetSelectorStore() {}
+  MODULEBASE_EXPORT virtual ~ModuleBase_WidgetSelectorStore() {}
 
   /// Creates a backup of the current values of the attribute
   /// \param theAttribute a model attribute which parameters are to be stored
   /// \param theWorkshop a current workshop
-  void storeAttributeValue(const AttributePtr& theAttribute,
-                           ModuleBase_IWorkshop* theWorkshop);
+  MODULEBASE_EXPORT void storeAttributeValue(const AttributePtr& theAttribute,
+                                             ModuleBase_IWorkshop* theWorkshop);
 
   /// Creates a backup of the current values of the attribute
   /// \param theAttribute a model attribute which parameters are to be restored
   /// \param theWorkshop a current workshop
-  void restoreAttributeValue(const AttributePtr& theAttribute,
-                             ModuleBase_IWorkshop* theWorkshop);
+  MODULEBASE_EXPORT void restoreAttributeValue(const AttributePtr& theAttribute,
+                                               ModuleBase_IWorkshop* theWorkshop);
 
 private:
   /// backup parameters of the model attribute. The class processes three types of attribute:
-  /// Reference, RefAttr and Selection. Depending on the attribute type, only the attribute parameter
+  /// Reference, RefAttr and Selection.
+  /// Depending on the attribute type, only the attribute parameter
   /// values are reserved in the backup
   /// An attribute object
   ObjectPtr myObject;