mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Windows: Update bundled pdfium to r3729
This commit is contained in:
25
dependencies/pdfium/win/public/fpdf_ext.h
vendored
25
dependencies/pdfium/win/public/fpdf_ext.h
vendored
@ -7,6 +7,8 @@
|
||||
#ifndef PUBLIC_FPDF_EXT_H_
|
||||
#define PUBLIC_FPDF_EXT_H_
|
||||
|
||||
#include <time.h>
|
||||
|
||||
// NOLINTNEXTLINE(build/include)
|
||||
#include "fpdfview.h"
|
||||
|
||||
@ -64,9 +66,28 @@ typedef struct _UNSUPPORT_INFO {
|
||||
// unsp_info - Pointer to an UNSUPPORT_INFO structure.
|
||||
//
|
||||
// Returns TRUE on success.
|
||||
DLLEXPORT FPDF_BOOL STDCALL
|
||||
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
|
||||
FSDK_SetUnSpObjProcessHandler(UNSUPPORT_INFO* unsp_info);
|
||||
|
||||
// Set replacement function for calls to time().
|
||||
//
|
||||
// This API is intended to be used only for testing, thus may cause PDFium to
|
||||
// behave poorly in production environments.
|
||||
//
|
||||
// func - Function pointer to alternate implementation of time(), or
|
||||
// NULL to restore to actual time() call itself.
|
||||
FPDF_EXPORT void FPDF_CALLCONV FSDK_SetTimeFunction(time_t (*func)());
|
||||
|
||||
// Set replacement function for calls to localtime().
|
||||
//
|
||||
// This API is intended to be used only for testing, thus may cause PDFium to
|
||||
// behave poorly in production environments.
|
||||
//
|
||||
// func - Function pointer to alternate implementation of localtime(), or
|
||||
// NULL to restore to actual localtime() call itself.
|
||||
FPDF_EXPORT void FPDF_CALLCONV
|
||||
FSDK_SetLocaltimeFunction(struct tm* (*func)(const time_t*));
|
||||
|
||||
// Unknown page mode.
|
||||
#define PAGEMODE_UNKNOWN -1
|
||||
// Document outline, and thumbnails hidden.
|
||||
@ -89,7 +110,7 @@ FSDK_SetUnSpObjProcessHandler(UNSUPPORT_INFO* unsp_info);
|
||||
// Returns one of the |PAGEMODE_*| flags defined above.
|
||||
//
|
||||
// The page mode defines how the document should be initially displayed.
|
||||
DLLEXPORT int STDCALL FPDFDoc_GetPageMode(FPDF_DOCUMENT document);
|
||||
FPDF_EXPORT int FPDF_CALLCONV FPDFDoc_GetPageMode(FPDF_DOCUMENT document);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
Reference in New Issue
Block a user