VLC 4.0.0-dev
|
Go to the source code of this file.
Data Structures | |
struct | config_category_t |
struct | config_subcategory_t |
Macros | |
#define | MAIN_TITLE N_( "VLC preferences" ) |
#define | INTF_TITLE N_( "Interface" ) |
#define | AUDIO_TITLE N_( "Audio" ) |
#define | VIDEO_TITLE N_( "Video" ) |
#define | INPUT_TITLE N_( "Input / Codecs" ) |
#define | SOUT_TITLE N_( "Stream output" ) |
#define | PLAYLIST_TITLE N_( "Playlist" ) |
#define | AADVANCED_TITLE N_( "Advanced" ) |
#define | SUBPIC_TITLE N_( "Subtitles / OSD" ) |
#define | HOTKEYS_TITLE N_( "Hotkeys" ) |
#define | ML_TITLE N_( "Media Library" ) |
#define | INTF_TOOLTIP N_( "Interface Settings" ) |
#define | AUDIO_TOOLTIP N_( "Audio Settings" ) |
#define | VIDEO_TOOLTIP N_( "Video Settings" ) |
#define | SUBPIC_TOOLTIP N_( "Subtitle & On Screen Display Settings" ) |
#define | INPUT_TOOLTIP N_( "Input & Codec Settings" ) |
#define | HOTKEYS_TOOLTIP N_( "Hotkeys Settings" ) |
#define | ML_TOOLTIP N_( "Media Library Settings" ) |
#define | INTF_HELP N_( "Settings for VLC's interfaces" ) |
#define | INTF_GENERAL_HELP N_( "Main interfaces settings" ) |
#define | INTF_MAIN_HELP N_( "Settings for the main interface" ) |
#define | INTF_CONTROL_HELP N_( "Settings for VLC's control interfaces" ) |
#define | INTF_HOTKEYS_HELP N_( "Hotkeys settings" ) |
#define | AUDIO_HELP N_( "Audio settings" ) |
#define | AUDIO_GENERAL_HELP N_("General audio settings") |
#define | AFILTER_HELP N_( "Audio filters are used to process the audio stream." ) |
#define | AVISUAL_HELP N_( "Audio visualizations" ) |
#define | AOUT_HELP N_("General settings for audio output modules.") |
#define | VIDEO_HELP N_("Video settings") |
#define | VIDEO_GENERAL_HELP N_( "General video settings" ) |
#define | VOUT_HELP N_("General settings for video output modules.") |
#define | VFILTER_HELP N_("Video filters are used to process the video stream." ) |
#define | SUBPIC_HELP |
#define | SPLITTER_HELP N_("Video splitters separate the stream into multiple videos.") |
#define | INPUT_HELP |
#define | ACCESS_HELP |
#define | STREAM_FILTER_HELP |
#define | DEMUX_HELP N_( "Demuxers are used to separate audio and video streams." ) |
#define | VDEC_HELP N_( "Settings for the video, images or video+audio decoders and encoders." ) |
#define | ADEC_HELP N_( "Settings for the audio-only decoders and encoders." ) |
#define | SDEC_HELP N_( "Settings for subtitle, teletext and CC decoders and encoders." ) |
#define | SOUT_HELP |
#define | SOUT_GENERAL_HELP N_( "General stream output settings") |
#define | SOUT_MUX_HELP |
#define | SOUT_ACO_HELP |
#define | SOUT_PACKET_HELP |
#define | SOUT_RENDER_HELP N_( "External renderer discovery related settings." ) |
#define | SOUT_STREAM_HELP |
#define | SOUT_VOD_HELP N_( "VLC's implementation of Video On Demand" ) |
#define | PLAYLIST_HELP |
#define | PGENERAL_HELP N_( "General playlist behaviour") |
#define | SD_HELP |
#define | PEXPORT_HELP N_( "Settings relating to exporting playlists." ) |
#define | AADVANCED_HELP N_( "Advanced settings. Use with care...") |
#define | ANETWORK_HELP N_( "Advanced network settings." ) |
Functions | |
const struct config_category_t * | vlc_config_cat_Find (enum vlc_config_cat cat) |
Fetch category information from VLC. | |
const struct config_category_t * | vlc_config_cat_GetAt (size_t index) |
const struct config_subcategory_t * | vlc_config_subcat_Find (enum vlc_config_subcat subcat) |
const struct config_subcategory_t * | vlc_config_subcat_GetAt (size_t index) |
size_t | vlc_config_cat_Count (void) |
size_t | vlc_config_subcat_Count (void) |
static enum vlc_config_subcat | vlc_config_cat_GetGeneralSubcat (enum vlc_config_cat cat) |
Get the "general" subcategory for a given category. | |
static const char * | vlc_config_subcat_GetName (enum vlc_config_subcat subcat) |
Get the name for a subcategory. | |
static const char * | vlc_config_subcat_GetHelp (enum vlc_config_subcat subcat) |
Get the help text for a subcategory. | |
static const char * | vlc_config_cat_GetName (enum vlc_config_cat cat) |
Get the name for a category. | |
static const char * | vlc_config_cat_GetHelp (enum vlc_config_cat cat) |
Get the help text for a category. | |
static enum vlc_config_cat | vlc_config_cat_FromSubcat (enum vlc_config_subcat subcat) |
Get the parent category for the given subcategory. | |
static bool | vlc_config_subcat_IsGeneral (enum vlc_config_subcat subcat) |
Check if the given subcategory is a "general" one. | |
#define AADVANCED_HELP N_( "Advanced settings. Use with care...") |
#define AADVANCED_TITLE N_( "Advanced" ) |
#define ACCESS_HELP |
#define ADEC_HELP N_( "Settings for the audio-only decoders and encoders." ) |
#define AFILTER_HELP N_( "Audio filters are used to process the audio stream." ) |
#define ANETWORK_HELP N_( "Advanced network settings." ) |
#define AOUT_HELP N_("General settings for audio output modules.") |
#define AUDIO_GENERAL_HELP N_("General audio settings") |
#define AUDIO_HELP N_( "Audio settings" ) |
#define AUDIO_TITLE N_( "Audio" ) |
#define AUDIO_TOOLTIP N_( "Audio Settings" ) |
#define AVISUAL_HELP N_( "Audio visualizations" ) |
#define DEMUX_HELP N_( "Demuxers are used to separate audio and video streams." ) |
#define HOTKEYS_TITLE N_( "Hotkeys" ) |
#define HOTKEYS_TOOLTIP N_( "Hotkeys Settings" ) |
#define INPUT_HELP |
#define INPUT_TITLE N_( "Input / Codecs" ) |
#define INPUT_TOOLTIP N_( "Input & Codec Settings" ) |
#define INTF_CONTROL_HELP N_( "Settings for VLC's control interfaces" ) |
#define INTF_GENERAL_HELP N_( "Main interfaces settings" ) |
#define INTF_HELP N_( "Settings for VLC's interfaces" ) |
#define INTF_HOTKEYS_HELP N_( "Hotkeys settings" ) |
#define INTF_TITLE N_( "Interface" ) |
#define INTF_TOOLTIP N_( "Interface Settings" ) |
#define MAIN_TITLE N_( "VLC preferences" ) |
#define ML_TITLE N_( "Media Library" ) |
#define ML_TOOLTIP N_( "Media Library Settings" ) |
#define PEXPORT_HELP N_( "Settings relating to exporting playlists." ) |
#define PGENERAL_HELP N_( "General playlist behaviour") |
#define PLAYLIST_HELP |
#define PLAYLIST_TITLE N_( "Playlist" ) |
#define SD_HELP |
#define SDEC_HELP N_( "Settings for subtitle, teletext and CC decoders and encoders." ) |
#define SOUT_ACO_HELP |
#define SOUT_GENERAL_HELP N_( "General stream output settings") |
#define SOUT_HELP |
#define SOUT_MUX_HELP |
#define SOUT_PACKET_HELP |
#define SOUT_RENDER_HELP N_( "External renderer discovery related settings." ) |
#define SOUT_STREAM_HELP |
#define SOUT_TITLE N_( "Stream output" ) |
#define SOUT_VOD_HELP N_( "VLC's implementation of Video On Demand" ) |
#define SPLITTER_HELP N_("Video splitters separate the stream into multiple videos.") |
#define STREAM_FILTER_HELP |
#define SUBPIC_HELP |
#define SUBPIC_TITLE N_( "Subtitles / OSD" ) |
#define SUBPIC_TOOLTIP N_( "Subtitle & On Screen Display Settings" ) |
#define VDEC_HELP N_( "Settings for the video, images or video+audio decoders and encoders." ) |
#define VFILTER_HELP N_("Video filters are used to process the video stream." ) |
#define VIDEO_GENERAL_HELP N_( "General video settings" ) |
#define VIDEO_HELP N_("Video settings") |
#define VIDEO_TITLE N_( "Video" ) |
#define VIDEO_TOOLTIP N_( "Video Settings" ) |
#define VOUT_HELP N_("General settings for video output modules.") |
size_t vlc_config_cat_Count | ( | void | ) |
References ARRAY_SIZE, and categories_array.
const struct config_category_t * vlc_config_cat_Find | ( | enum vlc_config_cat | cat | ) |
Fetch category information from VLC.
References ARRAY_SIZE, and categories_array.
Referenced by vlc_config_cat_GetGeneralSubcat(), and vlc_config_cat_GetHelp().
|
inlinestatic |
Get the parent category for the given subcategory.
References config_subcategory_t::cat, CAT_UNKNOWN, and vlc_config_subcat_Find().
Referenced by vlc_config_subcat_IsGeneral().
const struct config_category_t * vlc_config_cat_GetAt | ( | size_t | index | ) |
References ARRAY_SIZE, and categories_array.
|
inlinestatic |
Get the "general" subcategory for a given category.
In a cat/subcat preference tree, subcategories typically appear as child nodes under their respective parent category node. Core config items, which are always associated with a particular subcategory, are shown when that subcategory node is selected. Each category however has a "general" subcategory which is not shown as a child node, instead the options for this are shown when the category node itself is selected in the tree.
One or more nodes are also created in the tree per plugin, with the location relating to the subcategory association of its config items. Plugin nodes associated with general subcategories naturally appear as child nodes of the category node (as a sibling to its subcategory nodes), rather than as a child node of a subcategory node.
References config_category_t::general_subcat, SUBCAT_UNKNOWN, and vlc_config_cat_Find().
Referenced by vlc_config_cat_GetName(), and vlc_config_subcat_IsGeneral().
|
inlinestatic |
Get the help text for a category.
References config_category_t::help, vlc_config_cat_Find(), and vlc_gettext().
|
inlinestatic |
Get the name for a category.
References config_subcategory_t::cat, vlc_config_cat_GetGeneralSubcat(), and vlc_config_subcat_GetName().
size_t vlc_config_subcat_Count | ( | void | ) |
References ARRAY_SIZE, and subcategories_array.
const struct config_subcategory_t * vlc_config_subcat_Find | ( | enum vlc_config_subcat | subcat | ) |
References ARRAY_SIZE, and subcategories_array.
Referenced by vlc_config_cat_FromSubcat(), vlc_config_subcat_GetHelp(), and vlc_config_subcat_GetName().
const struct config_subcategory_t * vlc_config_subcat_GetAt | ( | size_t | index | ) |
References ARRAY_SIZE, and subcategories_array.
|
inlinestatic |
Get the help text for a subcategory.
References config_subcategory_t::help, vlc_config_subcat_Find(), and vlc_gettext().
|
inlinestatic |
Get the name for a subcategory.
References config_subcategory_t::name, vlc_config_subcat_Find(), and vlc_gettext().
Referenced by vlc_config_cat_GetName().
|
inlinestatic |
Check if the given subcategory is a "general" one.
References config_subcategory_t::cat, SUBCAT_UNKNOWN, vlc_config_cat_FromSubcat(), and vlc_config_cat_GetGeneralSubcat().