X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Plugin.h;h=b23bf3f1244d42e7def9a94af7afd743a97e4d9c;hb=b52164791e6cc6cdc2c009c7ef6667d9f476d3aa;hp=fb65e0b142ecf3426cfd3094a94ac7b8b8b0f87e;hpb=6654a921211670c15a79a997ca666a174fe8a6f6;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Plugin.h b/src/ModelAPI/ModelAPI_Plugin.h index fb65e0b14..b23bf3f12 100644 --- a/src/ModelAPI/ModelAPI_Plugin.h +++ b/src/ModelAPI/ModelAPI_Plugin.h @@ -1,13 +1,15 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_Plugin.hxx // Created: 31 Mar 2014 // Author: Mikhail PONIKAROV -#ifndef ModelAPI_Plugin_HeaderFile -#define ModelAPI_Plugin_HeaderFile +#ifndef ModelAPI_Plugin_H_ +#define ModelAPI_Plugin_H_ #include "ModelAPI.h" #include -#include +#include class ModelAPI_Feature; @@ -18,16 +20,14 @@ class ModelAPI_Feature; class MODELAPI_EXPORT ModelAPI_Plugin { -public: + 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() {} - -protected: - /// Is needed for python wrapping by swig - ModelAPI_Plugin() {}; + virtual ~ModelAPI_Plugin() + { + } }; #endif