summaryrefslogtreecommitdiffstats
path: root/src/io/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/resource.h')
-rw-r--r--src/io/resource.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/io/resource.h b/src/io/resource.h
index dae43ec8f..f70e55447 100644
--- a/src/io/resource.h
+++ b/src/io/resource.h
@@ -79,11 +79,24 @@ std::vector<Glib::ustring> get_filenames(Glib::ustring path,
std::vector<const char *> extensions={},
std::vector<const char *> exclusions={});
+std::vector<Glib::ustring> get_foldernames(Type type,
+ std::vector<const char *> exclusions={});
+
+std::vector<Glib::ustring> get_foldernames(Domain domain, Type type,
+ std::vector<const char *> exclusions={});
+
+std::vector<Glib::ustring> get_foldernames(Glib::ustring path,
+ std::vector<const char *> exclusions={});
+
void get_filenames_from_path(std::vector<Glib::ustring> &files,
Glib::ustring path,
std::vector<const char *> extensions={},
std::vector<const char *> exclusions={});
+void get_foldernames_from_path(std::vector<Glib::ustring> &files,
+ Glib::ustring path,
+ std::vector<const char *> exclusions={});
+
char *profile_path(const char *filename);
char *homedir_path(const char *filename);