Changeset 3e3d877613cb0d0fba70343464c96a6a10abf411

Show
Ignore:
Timestamp:
06/09/08 10:05:35 (3 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1212998735 +0200
git-parent:

[cc872f332621b1f639362e6b2a3d57e9dd9bc533]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1212876001 +0200
Message:

Add new var_Change action: VLC_VAR_SETISCOMMAND. Previously it was only
possible to set this attribute at variable creation time (and for some
reason I don't understand that didn't work in one case so I added this
work arround :p)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_variables.h

    rfbb8255 r3e3d877  
    107107#define VLC_VAR_INHERITVALUE        0x0030 
    108108#define VLC_VAR_TRIGGER_CALLBACKS   0x0035 
     109 
     110#define VLC_VAR_SETISCOMMAND        0x0040 
    109111/**@}*/ 
    110112 
  • src/misc/variables.c

    rd666030 r3e3d877  
    711711            break; 
    712712 
     713        case VLC_VAR_SETISCOMMAND: 
     714            p_var->i_type |= VLC_VAR_ISCOMMAND; 
     715            break; 
     716 
    713717        default: 
    714718            break;