Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix selection of non-visible features.
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_Filter.h
diff --git
a/src/ModelAPI/ModelAPI_Filter.h
b/src/ModelAPI/ModelAPI_Filter.h
index 05b85f6b60a033ddc5bce267afd02294b1901f4b..4adeec43261d103ce4a0d486916ed2b1781f6145 100644
(file)
--- a/
src/ModelAPI/ModelAPI_Filter.h
+++ b/
src/ModelAPI/ModelAPI_Filter.h
@@
-33,6
+33,8
@@
class ModelAPI_Filter
{
public:
class ModelAPI_Filter
{
public:
+ virtual ~ModelAPI_Filter() {}
+
/// Returns name of the filter to represent it in GUI
virtual const std::string& name() const = 0;
/// Returns name of the filter to represent it in GUI
virtual const std::string& name() const = 0;
@@
-56,10
+58,9
@@
public:
/// not redefined.
virtual void initAttributes(ModelAPI_FiltersArgs& theArguments) {}
/// not redefined.
virtual void initAttributes(ModelAPI_FiltersArgs& theArguments) {}
-protected:
/// Returns XML string which represents GUI of the filter
/// by reading corresponding XML file.
/// Returns XML string which represents GUI of the filter
/// by reading corresponding XML file.
- MODELAPI_EXPORT std::string xmlFromFile(const std::string& theConfigFile) const;
+ MODELAPI_EXPORT
virtual
std::string xmlFromFile(const std::string& theConfigFile) const;
private:
bool myIsReverse;
private:
bool myIsReverse;