[vlc-devel] commit: Define all XDG user directories (not implemented yet) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Aug 25 15:57:12 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 24 22:41:02 2009 +0300| [d0eb579af27486c1c38224cc5da42c87bc8c9b21] | committer: Rémi Denis-Courmont
Define all XDG user directories (not implemented yet)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d0eb579af27486c1c38224cc5da42c87bc8c9b21
---
include/vlc_configuration.h | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h
index 98dd14b..3e27293 100644
--- a/include/vlc_configuration.h
+++ b/include/vlc_configuration.h
@@ -222,10 +222,15 @@ 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_DOWNLOAD_DIR, /* VLC-specific download directory */
- VLC_PICTURE_DIR, /* VLC-specific snapshot directory */
- VLC_MUSIC_DIR, /* VLC-specific music directory */
- VLC_VIDEO_DIR, /* VLC-specific video directory */
+ /* Generic directories (same as XDG) */
+ VLC_DESKTOP_DIR,
+ 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);
More information about the vlc-devel
mailing list