]> git.sesse.net Git - vlc/commit
Add vlc_GetActionId().
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 27 Dec 2009 20:53:02 +0000 (21:53 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 27 Dec 2009 21:05:22 +0000 (22:05 +0100)
commit469613e252bc8b0b22e883d88e0be0a6f7b0a4ff
treed4bf96dd15c11a10b5f607dcd35641ae14d9ae1a
parent621afc68d4cb5aff9e463f5161decd1396e94af2
Add vlc_GetActionId().

vlc_GetActionId() is used to get an ACTIONID from the action's name, which is way better than getting the hotkey setting from the hotkey name and then, if the hotkey was set, looking up the corresponding action id ... since this also works if the hotkey isn't set. Export this function in lua and use in common.hotkey().
include/vlc_keys.h
modules/misc/lua/libs/misc.c
share/lua/intf/modules/common.lua
share/lua/intf/rc.lua
src/libvlc.c
src/libvlccore.sym
src/misc/action.c