Changeset 47ee4e3b557450e72e09605060682617e3739574
- Timestamp:
- 05/04/08 21:11:03
(4 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1209928263 +0300
- git-parent:
[8a96b3e73601a02d813b0dc70947778ef7e013ee]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1209928263 +0300
- Message:
Remove unused parameter
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r449fd28 |
r47ee4e3 |
|
| 45 | 45 | int __config_LoadCmdLine ( vlc_object_t *, int *, const char *[], bool ); |
|---|
| 46 | 46 | char *config_GetHomeDir ( void ); |
|---|
| 47 | | char *config_GetConfigDir ( libvlc_int_t * ); |
|---|
| 48 | | char *config_GetUserDataDir( libvlc_int_t * ); |
|---|
| 49 | | char *config_GetCacheDir ( libvlc_int_t * ); |
|---|
| | 47 | char *config_GetConfigDir ( void ); |
|---|
| | 48 | char *config_GetUserDataDir( void ); |
|---|
| | 49 | char *config_GetCacheDir ( void ); |
|---|
| 50 | 50 | char *config_GetConfigFile ( libvlc_int_t * ); |
|---|
| 51 | 51 | char *config_GetCustomConfigFile( libvlc_int_t * ); |
|---|
| r8a96b3e |
r47ee4e3 |
|
| 765 | 765 | * Get the user's VLC configuration directory |
|---|
| 766 | 766 | */ |
|---|
| 767 | | char *config_GetConfigDir( libvlc_int_t *p_libvlc ) |
|---|
| | 767 | char *config_GetConfigDir( void ) |
|---|
| 768 | 768 | { |
|---|
| 769 | 769 | return config_GetFooDir ("CONFIG", ".config"); |
|---|
| … | … | |
| 774 | 774 | * (used for stuff like the skins, custom lua modules, ...) |
|---|
| 775 | 775 | */ |
|---|
| 776 | | char *config_GetUserDataDir( libvlc_int_t *p_libvlc ) |
|---|
| | 776 | char *config_GetUserDataDir( void ) |
|---|
| 777 | 777 | { |
|---|
| 778 | 778 | return config_GetFooDir ("DATA", ".local/share"); |
|---|
| … | … | |
| 783 | 783 | * (used for stuff like the modules cache, the album art cache, ...) |
|---|
| 784 | 784 | */ |
|---|
| 785 | | char *config_GetCacheDir( libvlc_int_t *p_libvlc ) |
|---|
| | 785 | char *config_GetCacheDir( void ) |
|---|
| 786 | 786 | { |
|---|
| 787 | 787 | return config_GetFooDir ("CACHE", ".cache"); |
|---|
| r6b42b42 |
r47ee4e3 |
|
| 302 | 302 | /* Set the config file stuff */ |
|---|
| 303 | 303 | p_libvlc->psz_homedir = config_GetHomeDir(); |
|---|
| 304 | | p_libvlc->psz_configdir = config_GetConfigDir( p_libvlc ); |
|---|
| 305 | | p_libvlc->psz_datadir = config_GetUserDataDir( p_libvlc ); |
|---|
| 306 | | p_libvlc->psz_cachedir = config_GetCacheDir( p_libvlc ); |
|---|
| | 304 | p_libvlc->psz_configdir = config_GetConfigDir(); |
|---|
| | 305 | p_libvlc->psz_datadir = config_GetUserDataDir(); |
|---|
| | 306 | p_libvlc->psz_cachedir = config_GetCacheDir(); |
|---|
| 307 | 307 | priv->psz_configfile = config_GetCustomConfigFile( p_libvlc ); |
|---|
| 308 | 308 | |
|---|