5 #ifndef PDFTRON_H_CPPPDFDocumentPreviewCache
6 #define PDFTRON_H_CPPPDFDocumentPreviewCache
8 #include <C/PDF/TRN_DocumentPreviewCache.h>
128 #include <Impl/DocumentPreviewCache.inl>
133 #endif // PDFTRON_H_CPPPDFDocumentPreviewCache
static void GetBitmapWithPath(const UString &filepath, UInt32 min_x_size, UInt32 min_y_size, PreviewHandler proc, void *custom_data)
void(* PreviewHandler)(preview_result result, const char *utf8_filepath, void *custom_data)
The thumbnail could not be retrieved.
static void CancelRequest(const UString &filepath)
static void CancelAllRequests()
Successful retrieval of the thumbnail.
The request was cancelled before it was processed.
static void IrrelevantChangeMade(const UString &filepath)
Failure due to password restriction.
static void Initialize(UInt64 max_cache_bytes, double max_disk_percentage)
Failure due to encountering a PDF package.