Salome HOME
Merge branch 'Dev_1.1.0' of newgeom:newgeom.git into Dev_1.1.0
[modules/shaper.git] / src / GeomAPI / GeomAPI_IPresentable.h
index b28ed8bb06ed1b451d50ef3d300b5dc893417971..94021ab80f87495362f3754d51781eb459a9400b 100644 (file)
@@ -1,25 +1,26 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_IPresentable.hxx
 // Created:     17 July 2014
 // Author:      Vitaly SMETANNIKOV
 
-#ifndef GeomAPI_IPresentable_HeaderFile
-#define GeomAPI_IPresentable_HeaderFile
+#ifndef GeomAPI_IPresentable_H_
+#define GeomAPI_IPresentable_H_
 
 #include "GeomAPI_AISObject.h"
 
 /**
-* A class which defines an interface of object which is able to create its own presentation
-*/ 
+ * A class which defines an interface of object which is able to create its own presentation
+ */
 class GeomAPI_IPresentable
 {
-public:
+ public:
   /** Returns the AIS preview
-  *   \param thePrevious - defines a presentation if it was created previously
-  */
-  virtual boost::shared_ptr<GeomAPI_AISObject> getAISObject(
-                            boost::shared_ptr<GeomAPI_AISObject> thePrevious) = 0;
+   *   \param thePrevious - defines a presentation if it was created previously
+   */
+  virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious) = 0;
 };
 
-typedef boost::shared_ptr<GeomAPI_IPresentable> GeomPresentablePtr;
+typedef std::shared_ptr<GeomAPI_IPresentable> GeomPresentablePtr;
 
-#endif
\ No newline at end of file
+#endif