Salome HOME
Define guards are corrected according to the code style
[modules/shaper.git] / src / Model / Model_ResultPart.h
index 26c19fc0cc708099e9aed96cc03da3e5ab1680b0..4123d69e37f640b37255510fc55c1bd612cc3f5d 100644 (file)
@@ -2,8 +2,8 @@
 // Created:     07 Jul 2014
 // Author:      Mikhail PONIKAROV
 
-#ifndef Model_ResultPart_HeaderFile
-#define Model_ResultPart_HeaderFile
+#ifndef Model_ResultPart_H_
+#define Model_ResultPart_H_
 
 #include "Model.h"
 #include <ModelAPI_ResultPart.h>
@@ -27,6 +27,9 @@ protected:
   /// makes a result on a temporary feature (an action)
   Model_ResultPart();
 
+  /// Sets the data manager of an object (document does), here also attributes are initialized
+  virtual void setData(boost::shared_ptr<ModelAPI_Data> theData);
+
   friend class Model_Document;
 };