|
#define | VLC_VAR_TYPE 0x00ff |
|
#define | VLC_VAR_CLASS 0x00f0 |
|
#define | VLC_VAR_FLAGS 0xff00 |
|
#define | VLC_VAR_VOID 0x0010 |
|
#define | VLC_VAR_BOOL 0x0020 |
|
#define | VLC_VAR_INTEGER 0x0030 |
|
#define | VLC_VAR_STRING 0x0040 |
|
#define | VLC_VAR_FLOAT 0x0050 |
|
#define | VLC_VAR_ADDRESS 0x0070 |
|
#define | VLC_VAR_COORDS 0x00A0 |
|
#define | VLC_VAR_HASCHOICE 0x0100 |
|
#define | VLC_VAR_ISCOMMAND 0x2000 |
|
#define | VLC_VAR_DOINHERIT 0x8000 |
| Creation flag. More...
|
|
#define | VLC_VAR_SETSTEP 0x0012 |
|
#define | VLC_VAR_SETVALUE 0x0013 |
| Set the value of this variable without triggering any callbacks. More...
|
|
#define | VLC_VAR_SETTEXT 0x0014 |
|
#define | VLC_VAR_GETTEXT 0x0015 |
|
#define | VLC_VAR_GETMIN 0x0016 |
|
#define | VLC_VAR_GETMAX 0x0017 |
|
#define | VLC_VAR_GETSTEP 0x0018 |
|
#define | VLC_VAR_ADDCHOICE 0x0020 |
|
#define | VLC_VAR_DELCHOICE 0x0021 |
|
#define | VLC_VAR_CLEARCHOICES 0x0022 |
|
#define | VLC_VAR_GETCHOICES 0x0024 |
|
#define | VLC_VAR_CHOICESCOUNT 0x0026 |
|
#define | VLC_VAR_SETMINMAX 0x0027 |
|
#define | var_Create(a, b, c) var_Create( VLC_OBJECT(a), b, c ) |
|
#define | var_Destroy(a, b) var_Destroy( VLC_OBJECT(a), b ) |
|
#define | var_Change(a, b, c, d, e) var_Change( VLC_OBJECT(a), b, c, d, e ) |
|
#define | var_Type(a, b) var_Type( VLC_OBJECT(a), b ) |
|
#define | var_Set(a, b, c) var_Set( VLC_OBJECT(a), b, c ) |
|
#define | var_Get(a, b, c) var_Get( VLC_OBJECT(a), b, c ) |
|
#define | var_SetChecked(o, n, t, v) var_SetChecked(VLC_OBJECT(o),n,t,v) |
|
#define | var_GetChecked(o, n, t, v) var_GetChecked(VLC_OBJECT(o),n,t,v) |
|
#define | var_AddCallback(a, b, c, d) var_AddCallback( VLC_OBJECT(a), b, c, d ) |
|
#define | var_DelCallback(a, b, c, d) var_DelCallback( VLC_OBJECT(a), b, c, d ) |
|
#define | var_TriggerCallback(a, b) var_TriggerCallback( VLC_OBJECT(a), b ) |
|
#define | var_AddListCallback(a, b, c, d) var_AddListCallback( VLC_OBJECT(a), b, c, d ) |
|
#define | var_DelListCallback(a, b, c, d) var_DelListCallback( VLC_OBJECT(a), b, c, d ) |
|
#define | var_SetCoords(o, n, x, y) var_SetCoords(VLC_OBJECT(o),n,x,y) |
|
#define | var_SetInteger(a, b, c) var_SetInteger( VLC_OBJECT(a),b,c) |
|
#define | var_SetBool(a, b, c) var_SetBool( VLC_OBJECT(a),b,c) |
|
#define | var_SetFloat(a, b, c) var_SetFloat( VLC_OBJECT(a),b,c) |
|
#define | var_SetString(a, b, c) var_SetString( VLC_OBJECT(a),b,c) |
|
#define | var_SetAddress(o, n, p) var_SetAddress(VLC_OBJECT(o), n, p) |
|
#define | var_GetCoords(o, n, x, y) var_GetCoords(VLC_OBJECT(o),n,x,y) |
|
#define | var_IncInteger(a, b) var_IncInteger( VLC_OBJECT(a), b ) |
|
#define | var_DecInteger(a, b) var_DecInteger( VLC_OBJECT(a), b ) |
|
#define | var_OrInteger(a, b, c) var_OrInteger(VLC_OBJECT(a),b,c) |
|
#define | var_NAndInteger(a, b, c) var_NAndInteger(VLC_OBJECT(a),b,c) |
|
#define | var_CreateGetInteger(a, b) var_CreateGetInteger( VLC_OBJECT(a),b) |
|
#define | var_CreateGetBool(a, b) var_CreateGetBool( VLC_OBJECT(a),b) |
|
#define | var_CreateGetFloat(a, b) var_CreateGetFloat( VLC_OBJECT(a),b) |
|
#define | var_CreateGetString(a, b) var_CreateGetString( VLC_OBJECT(a),b) |
|
#define | var_CreateGetNonEmptyString(a, b) var_CreateGetNonEmptyString( VLC_OBJECT(a),b) |
|
#define | var_CreateGetAddress(a, b) var_CreateGetAddress( VLC_OBJECT(a),b) |
|
#define | var_CreateGetIntegerCommand(a, b) var_CreateGetIntegerCommand( VLC_OBJECT(a),b) |
|
#define | var_CreateGetBoolCommand(a, b) var_CreateGetBoolCommand( VLC_OBJECT(a),b) |
|
#define | var_CreateGetFloatCommand(a, b) var_CreateGetFloatCommand( VLC_OBJECT(a),b) |
|
#define | var_CreateGetStringCommand(a, b) var_CreateGetStringCommand( VLC_OBJECT(a),b) |
|
#define | var_CreateGetNonEmptyStringCommand(a, b) var_CreateGetNonEmptyStringCommand( VLC_OBJECT(a),b) |
|
#define | var_CountChoices(a, b) var_CountChoices( VLC_OBJECT(a),b) |
|
#define | var_ToggleBool(a, b) var_ToggleBool( VLC_OBJECT(a),b ) |
|
#define | var_InheritBool(o, n) var_InheritBool(VLC_OBJECT(o), n) |
|
#define | var_InheritInteger(o, n) var_InheritInteger(VLC_OBJECT(o), n) |
|
#define | var_InheritFloat(o, n) var_InheritFloat(VLC_OBJECT(o), n) |
|
#define | var_InheritString(o, n) var_InheritString(VLC_OBJECT(o), n) |
|
#define | var_InheritAddress(o, n) var_InheritAddress(VLC_OBJECT(o), n) |
|
#define | var_InheritURational(a, b, c, d) var_InheritURational(VLC_OBJECT(a), b, c, d) |
|
#define | var_GetInteger(a, b) var_GetInteger( VLC_OBJECT(a),b) |
|
#define | var_GetBool(a, b) var_GetBool( VLC_OBJECT(a),b) |
|
#define | var_GetFloat(a, b) var_GetFloat( VLC_OBJECT(a),b) |
|
#define | var_GetString(a, b) var_GetString( VLC_OBJECT(a),b) |
|
#define | var_GetNonEmptyString(a, b) var_GetNonEmptyString( VLC_OBJECT(a),b) |
|
#define | var_GetAddress(a, b) var_GetAddress( VLC_OBJECT(a),b) |
|
#define | var_LocationParse(o, m, p) var_LocationParse(VLC_OBJECT(o), m, p) |
|
|
int | var_Create (vlc_object_t *, const char *, int) |
| Initialize a vlc variable. More...
|
|
void | var_Destroy (_Generic((vlc_object_t *) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *)), const char *) |
|
int | var_Change (vlc_object_t *, const char *, int, vlc_value_t *, vlc_value_t *) |
| Perform an action on a variable. More...
|
|
int | var_Type (vlc_object_t *, const char *) |
| Request a variable's type. More...
|
|
int | var_Set (vlc_object_t *, const char *, vlc_value_t) |
| Set a variable's value. More...
|
|
int | var_Get (vlc_object_t *, const char *, vlc_value_t *) |
| Get a variable's value. More...
|
|
int | var_SetChecked (vlc_object_t *, const char *, int, vlc_value_t) |
|
int | var_GetChecked (vlc_object_t *, const char *, int, vlc_value_t *) |
|
int | var_GetAndSet (vlc_object_t *, const char *, int, vlc_value_t *) |
| Perform a Get and Set on a variable. More...
|
|
int | var_Inherit (vlc_object_t *, const char *, int, vlc_value_t *) |
| Finds the value of a variable. More...
|
|
void | var_FreeList (vlc_value_t *, vlc_value_t *) |
| Free a list and the associated strings. More...
|
|
void | var_AddCallback (vlc_object_t *, const char *, vlc_callback_t, void *) |
| Register a callback in a variable. More...
|
|
void | var_DelCallback (vlc_object_t *, const char *, vlc_callback_t, void *) |
| Remove a callback from a variable. More...
|
|
void | var_TriggerCallback (vlc_object_t *, const char *) |
| Trigger callback on a variable. More...
|
|
void | var_AddListCallback (vlc_object_t *, const char *, vlc_list_callback_t, void *) |
| Register a callback for a list variable. More...
|
|
void | var_DelListCallback (vlc_object_t *, const char *, vlc_list_callback_t, void *) |
| Remove a callback from a list variable. More...
|
|
static int | var_SetInteger (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name, int64_t i) |
| Set the value of an integer variable. More...
|
|
static int | var_SetBool (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name, bool b) |
| Set the value of an boolean variable. More...
|
|
static int | var_SetCoords (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name, int32_t x, int32_t y) |
|
static int | var_SetFloat (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name, float f) |
| Set the value of a float variable. More...
|
|
static int | var_SetString (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name, const char *psz_string) |
| Set the value of a string variable. More...
|
|
static int | var_SetAddress (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name, void *ptr) |
| Set the value of a pointer variable. More...
|
|
static int64_t | var_GetInteger (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Get an integer value. More...
|
|
static bool | var_GetBool (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Get a boolean value. More...
|
|
static void | var_GetCoords (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name, int32_t *px, int32_t *py) |
|
static float | var_GetFloat (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Get a float value. More...
|
|
static char * | var_GetString (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Get a string value. More...
|
|
static char * | var_GetNonEmptyString (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
|
static void * | var_GetAddress (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
|
static int64_t | var_IncInteger (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Increment an integer variable. More...
|
|
static int64_t | var_DecInteger (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Decrement an integer variable. More...
|
|
static uint64_t | var_OrInteger (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name, unsigned v) |
|
static uint64_t | var_NAndInteger (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name, unsigned v) |
|
static int64_t | var_CreateGetInteger (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a integer variable with inherit and get its value. More...
|
|
static bool | var_CreateGetBool (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a boolean variable with inherit and get its value. More...
|
|
static float | var_CreateGetFloat (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a float variable with inherit and get its value. More...
|
|
static char * | var_CreateGetString (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a string variable with inherit and get its value. More...
|
|
static char * | var_CreateGetNonEmptyString (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
|
static void * | var_CreateGetAddress (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create an address variable with inherit and get its value. More...
|
|
static int64_t | var_CreateGetIntegerCommand (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a integer command variable with inherit and get its value. More...
|
|
static bool | var_CreateGetBoolCommand (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a boolean command variable with inherit and get its value. More...
|
|
static float | var_CreateGetFloatCommand (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a float command variable with inherit and get its value. More...
|
|
static char * | var_CreateGetStringCommand (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
| Create a string command variable with inherit and get its value. More...
|
|
static char * | var_CreateGetNonEmptyStringCommand (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
|
static int | var_CountChoices (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
|
static bool | var_ToggleBool (_Generic((vlc_object_t *p_obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *p_obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *p_obj)), const char *psz_name) |
|
static bool | var_InheritBool (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name) |
|
static int64_t | var_InheritInteger (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name) |
|
static float | var_InheritFloat (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name) |
|
static char * | var_InheritString (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name) |
|
static void * | var_InheritAddress (_Generic((vlc_object_t *obj) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *obj) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *obj)), const char *name) |
|
int | var_InheritURational (_Generic((vlc_object_t *) ->obj, vlc_object_t:(vlc_object_t *)(&(vlc_object_t *) ->obj), struct vlc_common_members:(vlc_object_t *)(vlc_object_t *)), unsigned *num, unsigned *den, const char *var) |
|
int | var_LocationParse (vlc_object_t *, const char *mrl, const char *prefix) |
| Parses a set of colon-separated or semicolon-separated name=value pairs. More...
|
|
VLC object variables and callbacks interface