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_CSCRIPT_HOSTPSEUDOMODEL_H_ | 7 #ifndef XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_ |
8 #define XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_ | 8 #define XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_ |
9 | 9 |
10 #include "fxjs/include/cfxjse_arguments.h" | 10 #include "fxjs/cfxjse_arguments.h" |
11 #include "xfa/fxfa/parser/cxfa_document.h" | 11 #include "xfa/fxfa/parser/cxfa_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 protected: | 65 protected: |
66 void LoadString(CFXJSE_Value* pValue, | 66 void LoadString(CFXJSE_Value* pValue, |
67 CXFA_FFNotify* pNotify, | 67 CXFA_FFNotify* pNotify, |
68 uint32_t dwFlag); | 68 uint32_t dwFlag); |
69 FX_BOOL ValidateArgsForMsg(CFXJSE_Arguments* pArguments, | 69 FX_BOOL ValidateArgsForMsg(CFXJSE_Arguments* pArguments, |
70 int32_t iArgIndex, | 70 int32_t iArgIndex, |
71 CFX_WideString& wsValue); | 71 CFX_WideString& wsValue); |
72 }; | 72 }; |
73 | 73 |
74 #endif // XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_ | 74 #endif // XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_ |
OLD | NEW |