X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_plugin.h;h=eb957ca1406632d578067fce7633cc0b5cc754f9;hb=89717011bc83fcf86467544aa8ba43de13e22657;hp=4b02f2bf4fb8cb4da268b48dee870675372cf3f6;hpb=ce67728ae1a0d91643e416b86efeab34a0891e35;p=vlc diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h index 4b02f2bf4f..eb957ca140 100644 --- a/include/vlc_plugin.h +++ b/include/vlc_plugin.h @@ -120,8 +120,8 @@ enum vlc_module_properties /** * Current plugin ABI version */ -# define MODULE_SYMBOL 1_1_0f -# define MODULE_SUFFIX "__1_1_0f" +# define MODULE_SYMBOL 1_2_0a +# define MODULE_SUFFIX "__1_2_0a" /***************************************************************************** * Add a few defines. You do not want to read this section. Really. @@ -226,7 +226,7 @@ enum vlc_module_properties || vlc_module_set (p_submodule, VLC_MODULE_CB_CLOSE, deactivate)) \ goto error; -#define linked_with_a_crap_library_which_uses_atexit( ) \ +#define cannot_unload_broken_library( ) \ if (vlc_module_set (p_submodule, VLC_MODULE_NO_UNLOAD)) \ goto error; @@ -417,16 +417,19 @@ enum vlc_module_properties vlc_config_set (p_config, VLC_CONFIG_ADD_ACTION, \ (vlc_callback_t)(pf_action), (const char *)(text)); -#define change_internal() \ - vlc_config_set (p_config, VLC_CONFIG_PRIVATE); - #define change_need_restart() \ vlc_config_set (p_config, VLC_CONFIG_RESTART); #define change_autosave() \ vlc_config_set (p_config, VLC_CONFIG_PERSISTENT); -#define change_unsaveable() \ +/* For options that are saved but hidden from the preferences panel */ +#define change_private() \ + vlc_config_set (p_config, VLC_CONFIG_PRIVATE); + +/* For options that cannot be saved in the configuration */ +#define change_volatile() \ + change_private() \ vlc_config_set (p_config, VLC_CONFIG_VOLATILE); #define change_safe() \