On 10/20/2010 04:24 PM, Abdelrazak Younes wrote:
On 20/10/2010 13:51, Richard Heck wrote:
I don't know enough about this to know if this is a silly idea or
not, but I'll mention it anyway.
The dialogs we are discussing are all of the frontend::Alert variety.
Indeed, unless I am mistaken, those are the only dialogs we create
from the core. Is there any way we could encapsulate the needed logic
there?
Whenever in a thread frontend::Alert could send a signal that would be
caught by GuiView in the main thread. Once sent the thread would sleep
up until it receives a signal from GuiView. Upon reception of the
signal, GuiView would execute the required Alert dialog and send a
signal when done. Should be doable without much work...
Well, perhaps someone can try to implement this kind of idea. I have no
idea myself how to do any of it. Threads are beyond my level of
competence, I'm afraid.
rh