Remove page cache, proper 64 bit filesize and apply upstream 1648
This commit is contained in:
+2
-7
@@ -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;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user