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 XFA_INCLUDE_FXJSE_FXJSE_H_ | 7 #ifndef XFA_INCLUDE_FXJSE_FXJSE_H_ |
8 #define XFA_INCLUDE_FXJSE_FXJSE_H_ | 8 #define XFA_INCLUDE_FXJSE_FXJSE_H_ |
9 | 9 |
10 #include "core/include/fpdfapi/fpdf_parser.h" | 10 #include "core/include/fpdfapi/fpdf_parser.h" |
11 #include "core/include/fxcrt/fx_string.h" | 11 #include "core/include/fxcrt/fx_string.h" |
12 #include "core/include/fxcrt/fx_system.h" | 12 #include "core/include/fxcrt/fx_system.h" |
13 | 13 |
14 class CPDFDoc_Environment; | |
15 class CPDF_Page; | |
16 struct FXJSE_CLASS; | 14 struct FXJSE_CLASS; |
17 | 15 |
18 typedef struct FXJSE_HRUNTIME_ { void* pData; } * FXJSE_HRUNTIME; | 16 typedef struct FXJSE_HRUNTIME_ { void* pData; } * FXJSE_HRUNTIME; |
19 typedef struct FXJSE_HCONTEXT_ { void* pData; } * FXJSE_HCONTEXT; | 17 typedef struct FXJSE_HCONTEXT_ { void* pData; } * FXJSE_HCONTEXT; |
20 typedef struct FXJSE_HCLASS_ { void* pData; } * FXJSE_HCLASS; | 18 typedef struct FXJSE_HCLASS_ { void* pData; } * FXJSE_HCLASS; |
21 typedef struct FXJSE_HVALUE_ { void* pData; } * FXJSE_HVALUE; | 19 typedef struct FXJSE_HVALUE_ { void* pData; } * FXJSE_HVALUE; |
22 // NOLINTNEXTLINE | 20 // NOLINTNEXTLINE |
23 typedef struct FXJSE_HOBJECT_ : public FXJSE_HVALUE_{} * FXJSE_HOBJECT; | 21 typedef struct FXJSE_HOBJECT_ : public FXJSE_HVALUE_{} * FXJSE_HOBJECT; |
24 typedef double FXJSE_DOUBLE; | 22 typedef double FXJSE_DOUBLE; |
25 | 23 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Name, | 167 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Name, |
170 const CFX_ByteStringC& utf8Message); | 168 const CFX_ByteStringC& utf8Message); |
171 FX_BOOL FXJSE_ReturnValue_GetMessage(FXJSE_HVALUE hRetValue, | 169 FX_BOOL FXJSE_ReturnValue_GetMessage(FXJSE_HVALUE hRetValue, |
172 CFX_ByteString& utf8Name, | 170 CFX_ByteString& utf8Name, |
173 CFX_ByteString& utf8Message); | 171 CFX_ByteString& utf8Message); |
174 FX_BOOL FXJSE_ReturnValue_GetLineInfo(FXJSE_HVALUE hRetValue, | 172 FX_BOOL FXJSE_ReturnValue_GetLineInfo(FXJSE_HVALUE hRetValue, |
175 int32_t& nLine, | 173 int32_t& nLine, |
176 int32_t& nCol); | 174 int32_t& nCol); |
177 | 175 |
178 #endif // XFA_INCLUDE_FXJSE_FXJSE_H_ | 176 #endif // XFA_INCLUDE_FXJSE_FXJSE_H_ |
OLD | NEW |