Salome HOME
Fix on [Bug PAL7750] Regression of UNDO in GEOM
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_SComponent_i.hxx
index 3373a4175265dc8e5f774c3720cc463823d562ce..1018b7bb5ad69b3568840846e8cb1c0ad6375dbd 100644 (file)
@@ -41,9 +41,22 @@ class SALOMEDS_SComponent_i: public virtual POA_SALOMEDS::SComponent,
                        const TDF_Label& theLabel);
   
 public:
-  static SALOMEDS_SComponent_i* New(SALOMEDS_Study_i* theStudy,
-                                   const TDF_Label& theLabel);
-  
+
+  static 
+  SALOMEDS_Study_i::TSObjectHolder 
+  New(SALOMEDS_Study_i* theStudy,
+      const TDF_Label& theLabel);
+
+  static 
+  SALOMEDS_SComponent_i* 
+  NewPtr(SALOMEDS_Study_i* theStudy,
+        const TDF_Label& theLabel);
+
+  static 
+  SALOMEDS::SComponent_var 
+  NewRef(SALOMEDS_Study_i* theStudy,
+        const TDF_Label& theLabel);
+
   ~SALOMEDS_SComponent_i();
   
   virtual char* ComponentDataType();