+// 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:
+ virtual ~GeomAPI_IPresentable();
/** 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