Salome HOME
Include SalomeMacros.cmake with NO_POLICY_SCOPE to apply policies
[modules/med.git] / idl / MED_Gen.idl
index beefb0e19ebb03141e1a444879c08b10fe9d4863..8ce005caa6dc4d7a7cc9dfd4d0c81be9ae8a11c9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2005-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -39,29 +39,37 @@ module MED_ORB
   interface
   MED_Gen : Engines::EngineComponent
   {
-    status addDatasourceToStudy(in SALOMEDS::Study study,
-                                in MEDCALC::DatasourceHandler datasourceHandler)
+    status addDatasourceToStudy(in MEDCALC::DatasourceHandler datasourceHandler)
       raises (SALOME::SALOME_Exception);
 
-    status registerPresentation(in SALOMEDS::Study study,
-                                in long fieldId,
-                                in string name,
-                                in string type,
-                                in string ico,
-                                in long presentationId)
+    status registerPresentationField(in long fieldId,
+                                     in string name,
+                                     in string type,
+                                     in string ico,
+                                     in long presentationId)
       raises (SALOME::SALOME_Exception);
 
-    status unregisterPresentation(in SALOMEDS::Study study,
-                                  in long presentationId)
-      raises (SALOME::SALOME_Exception);
+    status registerPresentationMesh(in long meshId,
+                                    in string name,
+                                    in string type,
+                                    in string ico,
+                                    in long presentationId)
+          raises (SALOME::SALOME_Exception);
 
-    PresentationsList getSiblingPresentations(in SALOMEDS::Study study,
-                                              in long presentationId)
+    status unregisterPresentation(in long presentationId)
       raises (SALOME::SALOME_Exception);
 
+//    PresentationsList getSiblingPresentations(in long presentationId)
+//      raises (SALOME::SALOME_Exception);
+
     // Get all presentations in study:
-    PresentationsList getStudyPresentations(in SALOMEDS::Study study)
+    PresentationsList getStudyPresentations()
       raises (SALOME::SALOME_Exception);
+
+    string getStudyPresentationEntry(in long presentationId)
+      raises (SALOME::SALOME_Exception);
+
+    void cleanUp();
   };
 };