| 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_FXFA_FXFA_BASIC_H_ | 7 #ifndef XFA_FXFA_FXFA_BASIC_H_ |
| 8 #define XFA_FXFA_FXFA_BASIC_H_ | 8 #define XFA_FXFA_FXFA_BASIC_H_ |
| 9 | 9 |
| 10 #include "fxjs/cfxjse_arguments.h" | 10 #include "fxjs/cfxjse_arguments.h" |
| (...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 class CXFA_Object; | 1002 class CXFA_Object; |
| 1003 | 1003 |
| 1004 typedef void (CXFA_Object::*XFA_METHOD_CALLBACK)(CFXJSE_Arguments* pArguments); | 1004 typedef void (CXFA_Object::*XFA_METHOD_CALLBACK)(CFXJSE_Arguments* pArguments); |
| 1005 struct XFA_METHODINFO { | 1005 struct XFA_METHODINFO { |
| 1006 uint32_t uHash; | 1006 uint32_t uHash; |
| 1007 const FX_WCHAR* pName; | 1007 const FX_WCHAR* pName; |
| 1008 XFA_METHOD_CALLBACK lpfnCallback; | 1008 XFA_METHOD_CALLBACK lpfnCallback; |
| 1009 }; | 1009 }; |
| 1010 | 1010 |
| 1011 typedef void (CXFA_Object::*XFA_ATTRIBUTE_CALLBACK)(CFXJSE_Value* pValue, | 1011 typedef void (CXFA_Object::*XFA_ATTRIBUTE_CALLBACK)(CFXJSE_Value* pValue, |
| 1012 FX_BOOL bSetting, | 1012 bool bSetting, |
| 1013 XFA_ATTRIBUTE eAttribute); | 1013 XFA_ATTRIBUTE eAttribute); |
| 1014 enum XFA_SCRIPT_TYPE { | 1014 enum XFA_SCRIPT_TYPE { |
| 1015 XFA_SCRIPT_Basic, | 1015 XFA_SCRIPT_Basic, |
| 1016 XFA_SCRIPT_Object, | 1016 XFA_SCRIPT_Object, |
| 1017 }; | 1017 }; |
| 1018 struct XFA_SCRIPTATTRIBUTEINFO { | 1018 struct XFA_SCRIPTATTRIBUTEINFO { |
| 1019 uint32_t uHash; | 1019 uint32_t uHash; |
| 1020 const FX_WCHAR* pName; | 1020 const FX_WCHAR* pName; |
| 1021 XFA_ATTRIBUTE_CALLBACK lpfnCallback; | 1021 XFA_ATTRIBUTE_CALLBACK lpfnCallback; |
| 1022 int32_t eAttribute; | 1022 int32_t eAttribute; |
| 1023 uint16_t eValueType; | 1023 uint16_t eValueType; |
| 1024 }; | 1024 }; |
| 1025 | 1025 |
| 1026 #endif // XFA_FXFA_FXFA_BASIC_H_ | 1026 #endif // XFA_FXFA_FXFA_BASIC_H_ |
| OLD | NEW |