Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: fpdfsdk/include/fpdfoom.h

Issue 801913002: Simplify PDFium by removing code that's not used in the open source repo. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef _FPDFOOM_H_
8 #define _FPDFOOM_H_
9
10 #ifndef _FPDFVIEW_H_
11 #include "fpdfview.h"
12 #endif
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 typedef struct _OOM_INFO
19 {
20 /**
21 * Version number of the interface. Currently must be 1.
22 **/
23 int version;
24
25 /**
26 * Method: FSDK_OOM_Handler
27 * Out-Of-Memory handling function.
28 * Interface Version:
29 * 1
30 * Implementation Required:
31 * Yes
32 * Parameters:
33 * pThis - Pointer to the interface structu re itself.
34 * Return value:
35 * None.
36 * */
37
38 void(*FSDK_OOM_Handler)(_OOM_INFO* pThis);
39 }OOM_INFO;
40
41
42 /**
43 * Function: FSDK_SetOOMHandler
44 * Setup A Out-Of-Memory handler for foxit sdk.
45 * Parameters:
46 * oomInfo - Pointer to a OOM_INFO structure.
47 * Return Value:
48 * TRUE means successful. FALSE means fails.
49 **/
50
51 DLLEXPORT FPDF_BOOL STDCALL FSDK_SetOOMHandler(OOM_INFO* oomInfo);
52
53
54 #ifdef __cplusplus
55 };
56 #endif
57
58
59
60
61 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698