X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FConstructionPlugin_Extrusion.h;h=5933929b83d27808c2c1ad42c6d80e06eecabd1e;hb=4d0f8c49e8334bffe836ce17c518c6bd39c7a100;hp=6d557a3abfb27a8aa8b5e9fb5df0c1dc27c3f436;hpb=a25996a80f13f4af8bd60a90edc3811bbbee3b2d;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/ConstructionPlugin_Extrusion.h b/src/ConstructionPlugin/ConstructionPlugin_Extrusion.h index 6d557a3ab..5933929b8 100644 --- a/src/ConstructionPlugin/ConstructionPlugin_Extrusion.h +++ b/src/ConstructionPlugin/ConstructionPlugin_Extrusion.h @@ -8,14 +8,17 @@ #include "ConstructionPlugin.h" #include +/// Extrusion kind +const std::string CONSTRUCTION_EXTRUSION_KIND("Extrusion"); + /// attribute name of referenced face -const std::string EXTRUSION_FACE = "extrusion_select_face"; +const std::string EXTRUSION_FACE = "extrusion_face"; /// attribute name of extrusion size const std::string EXTRUSION_SIZE = "extrusion_size"; /// attribute name of reverce direction -const std::string EXTRUSION_REVERCE = "extrusion_reverse"; +const std::string EXTRUSION_REVERSE = "extrusion_reverse"; class ConstructionPlugin_Extrusion: public ModelAPI_Feature @@ -23,7 +26,7 @@ class ConstructionPlugin_Extrusion: public ModelAPI_Feature public: /// Returns the kind of a feature CONSTRUCTIONPLUGIN_EXPORT virtual const std::string& getKind() - { static std::string MY_KIND = "Extrusion"; return MY_KIND; } + { static std::string MY_KIND = CONSTRUCTION_EXTRUSION_KIND; return MY_KIND; } /// Returns to which group in the document must be added feature CONSTRUCTIONPLUGIN_EXPORT virtual const std::string& getGroup()