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 "fxjse/include/cfxjse_arguments.h" | 10 #include "fxjs/include/cfxjse_arguments.h" |
11 #include "xfa/fxfa/parser/xfa_document.h" | 11 #include "xfa/fxfa/parser/xfa_document.h" |
12 #include "xfa/fxfa/parser/xfa_object.h" | 12 #include "xfa/fxfa/parser/xfa_object.h" |
13 | 13 |
14 class CScript_HostPseudoModel : public CXFA_Object { | 14 class CScript_HostPseudoModel : public CXFA_Object { |
15 public: | 15 public: |
16 explicit CScript_HostPseudoModel(CXFA_Document* pDocument); | 16 explicit CScript_HostPseudoModel(CXFA_Document* pDocument); |
17 ~CScript_HostPseudoModel() override; | 17 ~CScript_HostPseudoModel() override; |
18 | 18 |
19 void AppType(CFXJSE_Value* pValue, | 19 void AppType(CFXJSE_Value* pValue, |
20 FX_BOOL bSetting, | 20 FX_BOOL bSetting, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 protected: | 75 protected: |
76 void LoadString(CFXJSE_Value* pValue, | 76 void LoadString(CFXJSE_Value* pValue, |
77 CXFA_FFNotify* pNotify, | 77 CXFA_FFNotify* pNotify, |
78 uint32_t dwFlag); | 78 uint32_t dwFlag); |
79 FX_BOOL ValidateArgsForMsg(CFXJSE_Arguments* pArguments, | 79 FX_BOOL ValidateArgsForMsg(CFXJSE_Arguments* pArguments, |
80 int32_t iArgIndex, | 80 int32_t iArgIndex, |
81 CFX_WideString& wsValue); | 81 CFX_WideString& wsValue); |
82 }; | 82 }; |
83 | 83 |
84 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ | 84 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ |
OLD | NEW |