]> git.sesse.net Git - vlc/blobdiff - include/configuration.h
Add a flag for config option to mark it as unsaveable. Refs #856 (Still need to test...
[vlc] / include / configuration.h
index 6bea943c808540c78269127365e1b756166131eb..678954c01cae4c130ee4d3bc7ec051eaa0590631 100644 (file)
@@ -169,6 +169,7 @@ struct module_config_t
     int          i_value_saved;
     float        f_value_saved;
     vlc_bool_t   b_autosave;       /* Config will be auto-saved at exit time */
+    vlc_bool_t   b_unsaveable;       /* confg should be saved*/
 };
 
 /*****************************************************************************
@@ -408,6 +409,8 @@ int config_AutoSaveConfigFile( vlc_object_t * );
 #define change_autosave() \
     p_config[i_config].b_autosave = VLC_TRUE;
 
+#define change_unsaveable() \
+    p_config[i_config].b_unsaveable = VLC_TRUE;
 
 /****************************************************************************
  * config_chain_t: