From 2f9ae9e9462a5a366461f20b4d0c2f4b80ef1b68 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Feb 2022 15:42:16 +0100 Subject: Local-manga: improve loading of page when using slow medium Especially when using NFS. Only get the latest chapter when needed and cache link to the cover page. --- include/Storage.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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; - enum class FileType { FILE_NOT_FOUND, REGULAR, @@ -23,6 +20,9 @@ namespace QuickMedia { DESC }; + // Return false to stop the iterator + using FileIteratorCallback = std::function; + Path get_home_dir(); Path get_storage_dir(); Path get_cache_dir(); -- cgit v1.2.3