]> git.sesse.net Git - vlc/blobdiff - src/config/configuration.h
config: Change the caching directories of VLC Mac OS X to Library/Caches/VLC
[vlc] / src / config / configuration.h
index 6bd34e5d607e2c89ad940d886e8a0994c9681e01..e078443a1eb7cf0df4d6b5a2bd274497639c5ca3 100644 (file)
@@ -43,12 +43,6 @@ void config_UnsetCallbacks( module_config_t *, size_t );
 #define config_LoadConfigFile(a,b) __config_LoadConfigFile(VLC_OBJECT(a),b)
 
 int __config_LoadCmdLine   ( vlc_object_t *, int *, const char *[], bool );
-char *config_GetHomeDir    ( void );
-char *config_GetConfigDir  ( void );
-char *config_GetUserDataDir( void );
-char *config_GetCacheDir   ( void );
-char *config_GetConfigFile ( libvlc_int_t * );
-char *config_GetCustomConfigFile( libvlc_int_t * );
 int __config_LoadConfigFile( vlc_object_t *, const char * );
 
 int IsConfigStringType( int type );
@@ -65,6 +59,7 @@ int ConfigStringToKey( const char * );
 #  define CONFIG_DIR                    "config/settings/VideoLAN Client"
 #elif defined (__APPLE__)
 #  define CONFIG_DIR                    "Library/Preferences/VLC"
+#  define CACHES_DIR                    "Library/Caches/VLC"
 #elif defined( WIN32 ) || defined( UNDER_CE )
 #  define CONFIG_DIR                    "vlc"
 #else
@@ -72,6 +67,8 @@ int ConfigStringToKey( const char * );
 #endif
 #define CONFIG_FILE                     "vlcrc"
 
+
+
 # ifdef __cplusplus
 }
 # endif