X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Filter.h;h=4adeec43261d103ce4a0d486916ed2b1781f6145;hb=0db912d7f004c9858b06e590a895420780ae73fc;hp=0469801fe5fbb3fd9b8d85a7ad2d2a4b88ebd6fb;hpb=a47af7109078eea1a585d1f10a176f16ab838b87;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Filter.h b/src/ModelAPI/ModelAPI_Filter.h index 0469801fe..4adeec432 100644 --- a/src/ModelAPI/ModelAPI_Filter.h +++ b/src/ModelAPI/ModelAPI_Filter.h @@ -33,6 +33,8 @@ class ModelAPI_Filter { public: + virtual ~ModelAPI_Filter() {} + /// Returns name of the filter to represent it in GUI virtual const std::string& name() const = 0; @@ -56,6 +58,10 @@ public: /// not redefined. virtual void initAttributes(ModelAPI_FiltersArgs& theArguments) {} + /// Returns XML string which represents GUI of the filter + /// by reading corresponding XML file. + MODELAPI_EXPORT virtual std::string xmlFromFile(const std::string& theConfigFile) const; + private: bool myIsReverse; };