Remove page cache, proper 64 bit filesize and apply upstream 1648

This commit is contained in:
jpirnay
2026-04-15 17:20:36 +02:00
parent a5dd44b3e0
commit 201aef565b
8 changed files with 216 additions and 624 deletions
+2 -7
View File
@@ -50,11 +50,6 @@ class Xtc {
*/
void setupCacheDir() const;
/**
* Preload window around specified page (for page turn optimization)
*/
void prefetchPages(uint32_t pageIndex) const;
// Path accessors
const std::string& getCachePath() const { return cachePath; }
const std::string& getPath() const { return filepath; }
@@ -63,7 +58,7 @@ class Xtc {
std::string getTitle() const;
std::string getAuthor() const;
bool hasChapters() const;
const std::vector<xtc::ChapterInfo>& getChapters() const;
const std::vector<xtc::ChapterInfo>& getChapters();
// Cover image support (for sleep screen)
std::string getCoverBmpPath() const;
@@ -107,4 +102,4 @@ class Xtc {
// Error information
xtc::XtcError getLastError() const;
};
};