From 6af0228d736652412d3d7b7e5ab35a0da8a7cedb Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 20 May 2008 08:15:29 +0000 Subject: [PATCH] NPAL19734: Missing method in SALOME_Session.idl --- idl/SALOME_Session.idl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/idl/SALOME_Session.idl b/idl/SALOME_Session.idl index 041df52a7..9ca58aa22 100644 --- a/idl/SALOME_Session.idl +++ b/idl/SALOME_Session.idl @@ -113,5 +113,22 @@ module SALOME Restores a state of the study at theSavePoint */ boolean restoreVisualState(in long theSavePoint); +/*! + Emit a qt signal from the session GUI desktop window. + This method can be used to send a message to the GUI from the standalone + container. + Caution: this method can block the Session and the calling container + if it is called when container processes some request from the GUI + (mutual lock takes place). + In such a case it is recommended to use oneway method. +*/ + void emitMessage(in string theMessage); +/*! + Emit a qt signal from the session GUI desktop window. + This method can be used to send a message to the GUI from the standalone + container. + This method never blocks the Session and the calling container. +*/ + oneway void emitMessageOneWay(in string theMessage); } ; } ; -- 2.39.2