Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / PartSetPlugin / PartSetPlugin_Part.h
index f1ee4306421704bdbd9ddf2af2a055113f15e9b9..eaae463ad2831260dc75a595e9c8a761f645e09c 100644 (file)
@@ -32,7 +32,10 @@ public:
   /// Request for initialization of data model of the feature: adding all attributes
   PARTSETPLUGIN_EXPORT virtual void initAttributes();
 
-  PARTSETPLUGIN_EXPORT virtual std::shared_ptr<ModelAPI_Document> documentToAdd();
+  PARTSETPLUGIN_EXPORT virtual boost::shared_ptr<ModelAPI_Document> documentToAdd();
+
+  /// Returns true if this feature must be displayed in the history (top level of Part tree)
+  PARTSETPLUGIN_EXPORT virtual bool isInHistory() {return false;}
 
   /// Use plugin manager for features creation
   PartSetPlugin_Part();