From: vsr Date: Tue, 28 Nov 2006 14:59:54 +0000 (+0000) Subject: Improvement PAL14013: send a message to the GUI from the container to emit signal X-Git-Tag: V3_2_3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a43feecae1412cf6c6176dff36660177b761864;p=modules%2Fkernel.git Improvement PAL14013: send a message to the GUI from the container to emit signal --- diff --git a/idl/SALOME_Session.idl b/idl/SALOME_Session.idl index 9a96d8b5f..b731d83a3 100644 --- a/idl/SALOME_Session.idl +++ b/idl/SALOME_Session.idl @@ -109,5 +109,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); } ; } ;