diff 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
line wrap: on
line diff
--- a/src/ui_fileops.h	Sat Nov 15 10:35:43 2008 +0000
+++ b/src/ui_fileops.h	Sat Nov 15 17:30:45 2008 +0000
@@ -35,6 +35,10 @@
 gchar *path_from_utf8(const gchar *path);
 
 const gchar *homedir(void);
+const gchar *get_rc_dir(void);
+const gchar *get_collections_dir(void);
+const gchar *get_trash_dir(void);
+
 gint stat_utf8(const gchar *s, struct stat *st);
 gint lstat_utf8(const gchar *s, struct stat *st);
 gint isname(const gchar *s);