Salome HOME
Merge remote-tracking branch 'origin/Toolbars_Management'
[modules/shaper.git] / src / ModelAPI / ModelAPI_Entity.h
index 5f97f6edd6bd92dbe34083cacbf130e7e896f683..7ae044132ce7ebabe75b36f91fa8af0fe67786b0 100644 (file)
@@ -1,12 +1,28 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:        ModelAPI_Entity.h
-// Created:     27 July 2015
-// Author:      Vitaly SMETANNIKOV
+// 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 ModelAPI_Entity_H_
 #define ModelAPI_Entity_H_
 
+#include <memory>
+
 /**\class ModelAPI_Entity
  * \ingroup DataModel
  * \brief Represents a common parent class for Objects and documents.
@@ -20,4 +36,7 @@ public:
   virtual void emptyFunction() const {}
 };
 
+typedef std::shared_ptr<ModelAPI_Entity> EntityPtr;
+
+
 #endif
\ No newline at end of file