Salome HOME
add method NameChanged to update title name
[modules/kernel.git] / src / DF / DF_Label.hxx
index fe2a43f9bc8693b637b24da80258dccc03443edc..30435c8f689e640b873200b24e478baa5df7704f 100644 (file)
@@ -1,3 +1,22 @@
+// Copyright (C) 2007-2016  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, 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 DFLABEL_HXX
 #define DFLABEL_HXX
 
@@ -133,6 +152,9 @@ public:
   //Creates a new child Label of this Label.
   Standard_EXPORT DF_Label NewChild();
 
+  //Returns a tag of the last child
+  Standard_EXPORT int LastChildTag() const;
+
   //Returns a string presentation of the entry
   Standard_EXPORT std::string Entry() const;