X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FModel_AttributeInteger.h;h=d611afccc3a04427f1b3e640c9ed2a15f2c750ad;hb=b0196aeefbaa53754b1052fab904386707caad87;hp=870db29908d383499274846bfe65b03e247098c5;hpb=ba08b49c900003e00c5fdb67d80d1a9bb8134358;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeInteger.h b/src/Model/Model_AttributeInteger.h index 870db2990..d611afccc 100644 --- a/src/Model/Model_AttributeInteger.h +++ b/src/Model/Model_AttributeInteger.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: Model_AttributeInteger.h -// Created: 03 sep 2014 -// Author: sbh +// 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 +// #ifndef MODEL_ATTRIBUTEINTEGER_H_ #define MODEL_ATTRIBUTEINTEGER_H_ @@ -57,7 +71,9 @@ class Model_AttributeInteger : public ModelAPI_AttributeInteger protected: /// Initializes attributes - Model_AttributeInteger(); + Model_AttributeInteger(TDF_Label& theLabel); + /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc) + virtual void reinit(); friend class Model_Data;