X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_IPresentable.h;h=db3d12b4ae73ea34100202a4833613e8e9407bd2;hb=73502ac782ffc45a3acf665ded34f582b07ec4d5;hp=abb154170f2be91359af5c35a3dac59d970052f8;hpb=96ff1d1fb2acb842cee193f15492de81060a1d58;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_IPresentable.h b/src/GeomAPI/GeomAPI_IPresentable.h index abb154170..db3d12b4a 100644 --- a/src/GeomAPI/GeomAPI_IPresentable.h +++ b/src/GeomAPI/GeomAPI_IPresentable.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAPI_IPresentable.hxx // Created: 17 July 2014 // Author: Vitaly SMETANNIKOV @@ -8,18 +10,18 @@ #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 - */ - virtual boost::shared_ptr getAISObject( - boost::shared_ptr thePrevious) = 0; + * \param thePrevious - defines a presentation if it was created previously + */ + virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious) = 0; }; -typedef boost::shared_ptr GeomPresentablePtr; +typedef std::shared_ptr GeomPresentablePtr; -#endif \ No newline at end of file +#endif