X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Plugin.h;h=de421e726c29c176b12a5adf2ababa5aee625712;hb=2e302e38e16ddf6e543d533f21c9b4b82ac5515b;hp=04a997436a8ca472378019826d0495f94bc2e1d5;hpb=f4f01be0d0f2642aaca4844b34c98a062e2afbb9;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Plugin.h b/src/ModelAPI/ModelAPI_Plugin.h index 04a997436..de421e726 100644 --- a/src/ModelAPI/ModelAPI_Plugin.h +++ b/src/ModelAPI/ModelAPI_Plugin.h @@ -1,4 +1,6 @@ -// File: ModelAPI_Plugin.hxx +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + +// File: ModelAPI_Plugin.h // Created: 31 Mar 2014 // Author: Mikhail PONIKAROV @@ -7,7 +9,7 @@ #include "ModelAPI.h" #include -#include +#include class ModelAPI_Feature; @@ -15,17 +17,14 @@ class ModelAPI_Feature; * \ingroup DataModel * \brief Interface common for any plugin: allows to use plugin by the plugins manager. */ - class MODELAPI_EXPORT ModelAPI_Plugin { public: /// Creates the feature object of this plugin by the feature string ID - virtual boost::shared_ptr createFeature(std::string theFeatureID) = 0; + virtual std::shared_ptr createFeature(std::string theFeatureID) = 0; /// To virtually destroy the fields of successors - virtual ~ModelAPI_Plugin() - { - } + virtual ~ModelAPI_Plugin(); }; #endif