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