OLD | NEW |
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 _FPDFSDK_DEFINE_H | 7 #ifndef FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
8 #define _FPDFSDK_DEFINE_H | 8 #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
9 | 9 |
10 #ifdef _WIN32 | 10 #ifdef _WIN32 |
11 #include <tchar.h> | 11 #include <tchar.h> |
12 #include <math.h> | 12 #include <math.h> |
13 #endif | 13 #endif |
14 | 14 |
15 #include "../../core/include/fpdfapi/fpdf_parser.h" | 15 #include "../../core/include/fpdfapi/fpdf_parser.h" |
16 #include "../../core/include/fpdfapi/fpdfapi.h" | 16 #include "../../core/include/fpdfapi/fpdfapi.h" |
17 #include "../../core/include/fpdfapi/fpdf_parser.h" | 17 #include "../../core/include/fpdfapi/fpdf_parser.h" |
18 #include "../../core/include/fpdfapi/fpdf_module.h" | 18 #include "../../core/include/fpdfapi/fpdf_module.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size
_t size) FX_OVERRIDE; | 80 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size
_t size) FX_OVERRIDE; |
81 | 81 |
82 private: | 82 private: |
83 FPDF_FILEACCESS m_FileAccess; | 83 FPDF_FILEACCESS m_FileAccess; |
84 }; | 84 }; |
85 | 85 |
86 void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable); | 86 void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable); |
87 FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy); | 87 FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy); |
88 | 88 |
89 | 89 |
90 #endif//_FPDFSDK_DEFINE_H | 90 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
OLD | NEW |