X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_IPresentable.h;h=db3d12b4ae73ea34100202a4833613e8e9407bd2;hb=e32f95642855a63da2727cb324ce2a75632a712f;hp=b28ed8bb06ed1b451d50ef3d300b5dc893417971;hpb=5d3cd989dcae90a9981d0d874e6fd75676db03d8;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_IPresentable.h b/src/GeomAPI/GeomAPI_IPresentable.h index b28ed8bb0..db3d12b4a 100644 --- a/src/GeomAPI/GeomAPI_IPresentable.h +++ b/src/GeomAPI/GeomAPI_IPresentable.h @@ -1,25 +1,27 @@ +// 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: + 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