X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Plugin.h;h=de421e726c29c176b12a5adf2ababa5aee625712;hb=6bb3ec6c114b55c02bad00ec953cd5b867eb7083;hp=c3fc113f758a603f097f1ef904944072121fe700;hpb=47c024e673a2da5094f8f233124c412d0fcdc9b4;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Plugin.h b/src/ModelAPI/ModelAPI_Plugin.h index c3fc113f7..de421e726 100644 --- a/src/ModelAPI/ModelAPI_Plugin.h +++ b/src/ModelAPI/ModelAPI_Plugin.h @@ -1,6 +1,6 @@ // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -// File: ModelAPI_Plugin.hxx +// File: ModelAPI_Plugin.h // Created: 31 Mar 2014 // Author: Mikhail PONIKAROV @@ -17,7 +17,6 @@ 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: @@ -25,15 +24,7 @@ class MODELAPI_EXPORT ModelAPI_Plugin 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