Salome HOME
Memory Leaks
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI.h
index eb8e90359c2df7fea26df532c2c2bce0f5fa3d35..32b6b231b64104eb72f363de2c4c6beef4ff3b36 100644 (file)
@@ -121,6 +121,13 @@ class SUPERVGUI: public SALOMEGUI {
   private:
     void loadEngine(SALOME_NamingService* namingService);
 
+    // enumeration used in newDataflow() method
+    enum NEW_DF_MODE { Import, Modify, New }; 
+    // method called from importDataflow(), modifyDataflow(), newDataflow() with
+    // different modes.  The behavior of the function is very similar in all 3 cases, 
+    // but some differences still exist.  These differences are implemented using NEW_DF_MODE param.
+    bool createDataflow( const NEW_DF_MODE f );  
+
     static int             factory;
     QAD_Desktop*           desktop;
     QAD_Study*             study;