From: jfa Date: Tue, 20 May 2008 08:15:29 +0000 (+0000) Subject: NPAL19734: Missing method in SALOME_Session.idl X-Git-Tag: TG_ELNO_visualization_28May2008~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6af0228d736652412d3d7b7e5ab35a0da8a7cedb;p=modules%2Fkernel.git NPAL19734: Missing method in SALOME_Session.idl --- 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); } ; } ;