]> git.sesse.net Git - vlc/commit
* ALL: a few updates to the variables API:
authorGildas Bazin <gbazin@videolan.org>
Sat, 7 Dec 2002 15:25:27 +0000 (15:25 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sat, 7 Dec 2002 15:25:27 +0000 (15:25 +0000)
commit0d62cd7dd470f3b58e349c0abe343f3bafd42037
tree18863e8db080d98b5b250792555c49b6d9590d0e
parentead83c797f20f8d1a16637351498163c29377368
* ALL: a few updates to the variables API:
  - got rid of the VLC_VAR_COMMAND variable type and introduced the VLC_VAR_ISCOMMAND flag
instead. This simplifies things and avoid the strange command variables behaviour. Command
variables will now trigger their callback on var_Set() like any other variables (look in
modules/control/rc/rc.c for an example).
  - Renamed the VLC_VAR_ISLIST flag into VLC_VAR_HASCHOICE.
  - Added a new VLC_VAR_VOID variable type. This can be useful in conjunction with
VLC_VAR_ISCOMMAND for instance.
include/variables.h
modules/audio_output/oss.c
modules/audio_output/sdl.c
modules/control/rc/rc.c
modules/misc/testsuite/test4.c
src/audio_output/output.c
src/misc/objects.c
src/misc/variables.c