aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Storage.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/Storage.hpp b/include/Storage.hpp
index 1e38906..c187261 100644
--- a/include/Storage.hpp
+++ b/include/Storage.hpp
@@ -9,9 +9,6 @@ namespace Json {
}
namespace QuickMedia {
- // Return false to stop the iterator
- using FileIteratorCallback = std::function<bool(const Path &filepath)>;
-
enum class FileType {
FILE_NOT_FOUND,
REGULAR,
@@ -23,6 +20,9 @@ namespace QuickMedia {
DESC
};
+ // Return false to stop the iterator
+ using FileIteratorCallback = std::function<bool(const Path &filepath, FileType file_type)>;
+
Path get_home_dir();
Path get_storage_dir();
Path get_cache_dir();