11 lines
329 B
C++
11 lines
329 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
// Clears the reading cache for a book file if its extension is recognised
|
|
// (EPUB, XTC, or TXT). Does nothing for other file types.
|
|
void clearBookCache(const std::string& path);
|
|
|
|
// Returns true if the directory name matches a book cache entry.
|
|
bool isBookCacheDirectoryName(const char* name);
|