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

Side by Side Diff: public/fpdf_dataavail.h

Issue 1137233002: Merge to XFA: Make (and verify) public/ files compile under C. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Test new XFA APIs. Created 5 years, 7 months 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
« no previous file with comments | « pdfium.gyp ('k') | public/fpdf_ext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FPDF_DATAAVAIL_H_ 7 #ifndef _FPDF_DATAAVAIL_H_
8 #define _FPDF_DATAAVAIL_H_ 8 #define _FPDF_DATAAVAIL_H_
9 9
10 #include <stddef.h> // For size_t. 10 #include <stddef.h> // For size_t.
(...skipping 29 matching lines...) Expand all
40 * Yes 40 * Yes
41 * Parameters: 41 * Parameters:
42 * pThis - Pointer to the interface structu re itself. 42 * pThis - Pointer to the interface structu re itself.
43 * offset - The offset of the data section i n the file. 43 * offset - The offset of the data section i n the file.
44 * size - The size of the data section 44 * size - The size of the data section
45 * Return Value: 45 * Return Value:
46 * true means the specified data section is available. 46 * true means the specified data section is available.
47 * Comments: 47 * Comments:
48 * Called by Foxit SDK to check whether the data section is ready. 48 * Called by Foxit SDK to check whether the data section is ready.
49 */ 49 */
50 » bool (*IsDataAvail)(struct _FX_FILEAVAIL* pThis, size_t offset, size_t s ize); 50 » FPDF_BOOL (*IsDataAvail)(struct _FX_FILEAVAIL* pThis, size_t offset, siz e_t size);
51 } FX_FILEAVAIL; 51 } FX_FILEAVAIL;
52 52
53 typedef void* FPDF_AVAIL; 53 typedef void* FPDF_AVAIL;
54 54
55 /** 55 /**
56 * Function: FPDFAvail_Create 56 * Function: FPDFAvail_Create
57 * Create a document availability provider. 57 * Create a document availability provider.
58 * 58 *
59 * Parameters: 59 * Parameters:
60 * file_avail - Pointer to file availability int erface to check availability of file data. 60 * file_avail - Pointer to file availability int erface to check availability of file data.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 * 214 *
215 */ 215 */
216 DLLEXPORT FPDF_BOOL STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail); 216 DLLEXPORT FPDF_BOOL STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail);
217 217
218 #ifdef __cplusplus 218 #ifdef __cplusplus
219 }; 219 };
220 #endif 220 #endif
221 221
222 #endif 222 #endif
223 223
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | public/fpdf_ext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698