[vlc-devel] Re: configurable hotkeys
babal at via.ecp.fr
Wed May 28 14:34:24 CEST 2003
On Wed, May 28, 2003 at 12:06:38PM (GMT+0200), Sigmund Augdal wrote:
> 1: hotkeys could be reported by anyone, and hotkeys could be handled by
By the way, I was wondering: how are conflicts handled ? I mean:
can two interfaces/modules register to handle a key ? If so, isn't
there a risk that they both do something (which wouldn't be nice in all
circumstances, for instance two GUIs) ? If not, how do we decide which
handler is enabled, and how do we handle the case "two GUIs", naturally
registering for the same events (that's easier because the reporter is
also the handler, but is it always the case ?) ? and so on...
Maybe the special case of GUIs must be set appart (that's probably
what you had in mind actually :) ...
Just raising this before going back to real life work ;-)...
> I see two solutions
> to this. Either keep it as a interface module that is allways inserted or
> make a generic event queue in the vlc core. The first alternative has the
> benefit that it doesn?t break anything, and it is quite easy to implement,
> while the other alternative is the "clean" solution.
Sounds nice to me :)
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel