X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Plugin.h;h=b23bf3f1244d42e7def9a94af7afd743a97e4d9c;hb=031fb5e7c551e695afa72a9de299f118a40d8d88;hp=5222b4c7b5edcd23582cdffbd6933428784cb4a7;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Plugin.h b/src/ModelAPI/ModelAPI_Plugin.h index 5222b4c7b..b23bf3f12 100644 --- a/src/ModelAPI/ModelAPI_Plugin.h +++ b/src/ModelAPI/ModelAPI_Plugin.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_Plugin.hxx // Created: 31 Mar 2014 // Author: Mikhail PONIKAROV @@ -7,7 +9,7 @@ #include "ModelAPI.h" #include -#include +#include class ModelAPI_Feature; @@ -20,19 +22,12 @@ 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() { } - - protected: - /// Is needed for python wrapping by swig - ModelAPI_Plugin() - { - } - ; }; #endif