On Fri, Feb 20, 2004 at 05:51:38PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
> 
> Andre> That's most of the 'necessary infrastucture' for 'localized
> Andre> getStatus' (but none of the 'real' work).
> 
> Andre> It would work pretty much like dispatch: asking
> Andre> cursor-tip-to-bottom every inset whether it will later handle a
> Andre> certain request, stopping at the first one that says 'I know
> Andre> this LFUN and I decide now that this is allowed or not'.
> 
> I do not have any opinion on the best way to implement this, but
> localized getStatus is definitely something we need.

I think having this getStatus in parallel to the priv_dispatch is (a)
simple to implement and (b) all we need.

Each insets that handles LFUN_FOO in priv_dispatch() will have the
chance to 'announce' this in it's own getStatus() (and could
'validate' all necessary restrictions by itself without creating lots of
interdependencies.)

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to