Commit cc7e7e49 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Pack struct module_config_t

parent 2011fd9a
...@@ -159,9 +159,16 @@ struct module_config_t ...@@ -159,9 +159,16 @@ struct module_config_t
int *pi_list; /* Idem for integers */ int *pi_list; /* Idem for integers */
char **ppsz_list_text; /* Friendly names for list values */ char **ppsz_list_text; /* Friendly names for list values */
int i_list; /* Options list size */ int i_list; /* Options list size */
int i_type; /* Configuration type */ vlc_callback_t pf_update_list; /* Callback to initialize dropdown lists */
vlc_callback_t pf_update_list; /*callback to initialize dropdownlists */ uint8_t i_type; /* Configuration type */
char i_short; /* Optional short option name */ char i_short; /* Optional short option name */
/* Misc */
unsigned b_dirty:1; /* Dirty flag to indicate a config change */
unsigned b_advanced:1; /* Flag to indicate an advanced option */
unsigned b_internal:1; /* Flag to indicate option is not to be shown */
unsigned b_unsaveable:1; /* Config should not be saved */
unsigned b_safe:1; /* Safe to use in web plugins and playlists */
/* Actions list */ /* Actions list */
int i_action; /* actions list size */ int i_action; /* actions list size */
...@@ -171,15 +178,6 @@ struct module_config_t ...@@ -171,15 +178,6 @@ struct module_config_t
/* Deprecated */ /* Deprecated */
char *psz_oldname; /* Old option name */ char *psz_oldname; /* Old option name */
bool b_removed; bool b_removed;
/* Misc */
bool b_dirty; /* Dirty flag to indicate a config change */
bool b_advanced; /* Flag to indicate an advanced option */
bool b_internal; /* Flag to indicate option is not to be shown */
/* Option values loaded from config file */
bool b_unsaveable; /* Config should not be saved */
bool b_safe;
}; };
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment