Salome HOME
Merge branch 'Dev_1.5.0' of salome:modules/shaper into Dev_1.5.0
[modules/shaper.git] / src / GeomAPI / GeomAPI_IPresentable.h
index c300c1b421e6594c40a8b5f9f3f139bc8ef4ba07..db3d12b4ae73ea34100202a4833613e8e9407bd2 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_IPresentable.hxx
 // Created:     17 July 2014
 // Author:      Vitaly SMETANNIKOV
 #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:
+  GEOMAPI_EXPORT virtual ~GeomAPI_IPresentable();
   /** Returns the AIS preview
-  *   \param thePrevious - defines a presentation if it was created previously
-  */
+   *   \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