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_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ |
9 | 9 |
10 #include "xfa/fxfa/parser/xfa_document.h" | 10 #include "xfa/fxfa/parser/xfa_document.h" |
11 #include "xfa/fxfa/parser/xfa_object.h" | 11 #include "xfa/fxfa/parser/xfa_object.h" |
| 12 #include "xfa/fxjse/cfxjse_arguments.h" |
12 | 13 |
13 class CScript_HostPseudoModel : public CXFA_OrdinaryObject { | 14 class CScript_HostPseudoModel : public CXFA_OrdinaryObject { |
14 public: | 15 public: |
15 CScript_HostPseudoModel(CXFA_Document* pDocument); | 16 CScript_HostPseudoModel(CXFA_Document* pDocument); |
16 virtual ~CScript_HostPseudoModel(); | 17 virtual ~CScript_HostPseudoModel(); |
17 | 18 |
18 void Script_HostPseudoModel_AppType(FXJSE_HVALUE hValue, | 19 void Script_HostPseudoModel_AppType(FXJSE_HVALUE hValue, |
19 FX_BOOL bSetting, | 20 FX_BOOL bSetting, |
20 XFA_ATTRIBUTE eAttribute); | 21 XFA_ATTRIBUTE eAttribute); |
21 void Script_HostPseudoModel_FoxitAppType(FXJSE_HVALUE hValue, | 22 void Script_HostPseudoModel_FoxitAppType(FXJSE_HVALUE hValue, |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 void Script_HostPseudoModel_LoadString(FXJSE_HVALUE hValue, | 81 void Script_HostPseudoModel_LoadString(FXJSE_HVALUE hValue, |
81 IXFA_Notify* pNotify, | 82 IXFA_Notify* pNotify, |
82 FX_DWORD dwFlag); | 83 FX_DWORD dwFlag); |
83 FX_BOOL Script_HostPseudoModel_ValidateArgsForMsg( | 84 FX_BOOL Script_HostPseudoModel_ValidateArgsForMsg( |
84 CFXJSE_Arguments* pArguments, | 85 CFXJSE_Arguments* pArguments, |
85 int32_t iArgIndex, | 86 int32_t iArgIndex, |
86 CFX_WideString& wsValue); | 87 CFX_WideString& wsValue); |
87 }; | 88 }; |
88 | 89 |
89 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ | 90 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ |
OLD | NEW |