From 4a43feecae1412cf6c6176dff36660177b761864 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 28 Nov 2006 14:59:54 +0000 Subject: [PATCH] Improvement PAL14013: send a message to the GUI from the container to emit signal --- idl/SALOME_Session.idl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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); } ; } ; -- 2.39.2