| 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_SRC_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ | 7 #ifndef XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ |
| 8 #define XFA_SRC_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ | 8 #define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ |
| 9 | 9 |
| 10 #include "xfa/src/fxfa/parser/xfa_script.h" | 10 #include "xfa/fxfa/parser/xfa_script.h" |
| 11 | 11 |
| 12 class CXFA_FM2JSContext { | 12 class CXFA_FM2JSContext { |
| 13 public: | 13 public: |
| 14 static void Abs(FXJSE_HOBJECT hThis, | 14 static void Abs(FXJSE_HOBJECT hThis, |
| 15 const CFX_ByteStringC& szFuncName, | 15 const CFX_ByteStringC& szFuncName, |
| 16 CFXJSE_Arguments& args); | 16 CFXJSE_Arguments& args); |
| 17 static void Avg(FXJSE_HOBJECT hThis, | 17 static void Avg(FXJSE_HOBJECT hThis, |
| 18 const CFX_ByteStringC& szFuncName, | 18 const CFX_ByteStringC& szFuncName, |
| 19 CFXJSE_Arguments& args); | 19 CFXJSE_Arguments& args); |
| 20 static void Ceil(FXJSE_HOBJECT hThis, | 20 static void Ceil(FXJSE_HOBJECT hThis, |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 void ThrowScriptErrorMessage(int32_t iStringID, ...); | 443 void ThrowScriptErrorMessage(int32_t iStringID, ...); |
| 444 | 444 |
| 445 private: | 445 private: |
| 446 FXJSE_HRUNTIME m_hScriptRuntime; | 446 FXJSE_HRUNTIME m_hScriptRuntime; |
| 447 FXJSE_CLASS m_fmClass; | 447 FXJSE_CLASS m_fmClass; |
| 448 FXJSE_HCLASS m_hFMClass; | 448 FXJSE_HCLASS m_hFMClass; |
| 449 FXJSE_HVALUE m_hValue; | 449 FXJSE_HVALUE m_hValue; |
| 450 CXFA_Document* m_pDocument; | 450 CXFA_Document* m_pDocument; |
| 451 }; | 451 }; |
| 452 | 452 |
| 453 #endif // XFA_SRC_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ | 453 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ |
| OLD | NEW |