Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
FuncStatus getStatus(FuncRequest const & ev);
This one was supposed to be different for each frontend but none
of the existing one made use of it. Right now the code is:
Abdelrazak> I have deleted those two functions now.
You may have to reintroduce getStatus later, for example if some
frontend introduces a dialog that is not available in others.
Abdelrazak> LFUN you mean? Strictly speaking a dialog existence is not
Abdelrazak> attached to a LFUN existence.
Here is how it looks in 1.4 qt2 frontend:
FuncStatus getStatus(FuncRequest const & ev)
{
FuncStatus flag;
switch (ev.action) {
case LFUN_DIALOG_SHOW:
if (ev.argument == "preamble")
flag.unknown(true);
break;
case LFUN_TOOLTIPS_TOGGLE:
flag.unknown(true);
break;
default:
break;
}
return flag;
}
Does you see what I meant?
I see. Thanks.
Abdel.