X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_configuration.h;h=c208509efc117b657e989c819e2ff83f280334df;hb=350d15ef63edf381ea29dc6bf50c009f15b6903b;hp=bdd734e303c176eccfb461be424c5d5d7c1ef0eb;hpb=8210d67fc5e51e0951dbad9b833b89a351bdb1f6;p=vlc diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index bdd734e303..c208509efc 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -222,10 +222,19 @@ typedef enum vlc_userdir VLC_HOME_DIR, /* User's home */ VLC_CONFIG_DIR, /* VLC-specific configuration directory */ VLC_DATA_DIR, /* VLC-specific data directory */ + VLC_CACHE_DIR, /* VLC-specific user cached data directory */ + /* Generic directories (same as XDG) */ + VLC_DESKTOP_DIR=0x80, + VLC_DOWNLOAD_DIR, + VLC_TEMPLATES_DIR, + VLC_PUBLICSHARE_DIR, + VLC_DOCUMENTS_DIR, + VLC_MUSIC_DIR, + VLC_PICTURES_DIR, + VLC_VIDEOS_DIR, } vlc_userdir_t; VLC_EXPORT(char *, config_GetUserDir, ( vlc_userdir_t ) LIBVLC_USED); -VLC_EXPORT(char *, config_GetCacheDir, ( void ) LIBVLC_USED); VLC_EXPORT( void, __config_AddIntf, ( vlc_object_t *, const char * ) ); VLC_EXPORT( void, __config_RemoveIntf, ( vlc_object_t *, const char * ) );