comparison src/ui_fileops.h @ 1145:3a7af6a8cd5f

Use functions to return directories instead of constants. Following functions were added: get_collections_dir() get_metadata_cache_dir() get_rc_dir() get_thumbnails_cache_dir() get_trash_dir() They return the full directory path.
author zas_
date Sat, 15 Nov 2008 17:30:45 +0000
parents 1646720364cf
children 95860439070b
comparison
equal deleted inserted replaced
1144:5fe3b8b3a612 1145:3a7af6a8cd5f
33 33
34 gchar *path_to_utf8(const gchar *path); 34 gchar *path_to_utf8(const gchar *path);
35 gchar *path_from_utf8(const gchar *path); 35 gchar *path_from_utf8(const gchar *path);
36 36
37 const gchar *homedir(void); 37 const gchar *homedir(void);
38 const gchar *get_rc_dir(void);
39 const gchar *get_collections_dir(void);
40 const gchar *get_trash_dir(void);
41
38 gint stat_utf8(const gchar *s, struct stat *st); 42 gint stat_utf8(const gchar *s, struct stat *st);
39 gint lstat_utf8(const gchar *s, struct stat *st); 43 gint lstat_utf8(const gchar *s, struct stat *st);
40 gint isname(const gchar *s); 44 gint isname(const gchar *s);
41 gint isfile(const gchar *s); 45 gint isfile(const gchar *s);
42 gint isdir(const gchar *s); 46 gint isdir(const gchar *s);