X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FSALOME_Session.idl;h=a1174f1498eb6085590524e5d7254b9207b5c2d3;hb=f9ce15cb3b95e2156c0b967ec70b69ba1d864a2f;hp=90509c0bb7a1426e2e1888c6afd4bac536a72ffa;hpb=e429ce02076e083051c6520e0d7113022bd67b18;p=modules%2Fkernel.git diff --git a/idl/SALOME_Session.idl b/idl/SALOME_Session.idl index 90509c0bb..a1174f149 100644 --- a/idl/SALOME_Session.idl +++ b/idl/SALOME_Session.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -19,6 +19,7 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + // File : SALOME_Session.idl // Author : Paul RASCLE, EDF @@ -51,11 +52,10 @@ module SALOME It can be: -# asleep : no running study - -# running : one or more running studies + -# running : one running study */ SessionState state ; - //! Number of running studies - short runningStudies ; + //! It is True if GUI is active in the session boolean activeGUI ; } ; @@ -70,8 +70,8 @@ module SALOME { //! This exception is raised when trying to stop the %session with active GUI exception GUIActive {} ; -//! This exception is raised when trying to stop the %session with a number of running studies. - exception RunningStudies {} ; +//! This exception is raised when trying to stop the %session with running study. + exception RunningStudy {} ; //! Launches GUI in the session void GetInterface(); @@ -80,7 +80,7 @@ module SALOME Engines::EngineComponent GetComponent(in string theLibraryName); //! Stops the %Session (It must be idle) - void StopSession() raises(GUIActive, RunningStudies) ; + void StopSession() raises(GUIActive, RunningStudy) ; //! Gets Session State StatSession GetStatSession() ; @@ -94,8 +94,6 @@ module SALOME long getPID(); //! Returns host name string getHostname(); -//! Get Active study ID - long GetActiveStudyId(); //! Restores a state of the study at theSavePoint boolean restoreVisualState(in long theSavePoint);