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_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_RESOLVENODE_RS_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_H_ | 8 #define XFA_FXFA_PARSER_XFA_RESOLVENODE_RS_H_ |
9 | 9 |
10 #include "fxjs/include/cfxjse_value.h" | 10 #include "fxjs/include/cfxjse_value.h" |
11 #include "xfa/fxfa/include/fxfa.h" | 11 #include "xfa/fxfa/include/fxfa.h" |
12 #include "xfa/fxfa/parser/cxfa_valuearray.h" | 12 #include "xfa/fxfa/parser/cxfa_valuearray.h" |
13 | 13 |
14 #define XFA_RESOLVENODE_Children 0x0001 | 14 #define XFA_RESOLVENODE_Children 0x0001 |
15 #define XFA_RESOLVENODE_Attributes 0x0004 | 15 #define XFA_RESOLVENODE_Attributes 0x0004 |
16 #define XFA_RESOLVENODE_Properties 0x0008 | 16 #define XFA_RESOLVENODE_Properties 0x0008 |
17 #define XFA_RESOLVENODE_Siblings 0x0020 | 17 #define XFA_RESOLVENODE_Siblings 0x0020 |
18 #define XFA_RESOLVENODE_Parent 0x0040 | 18 #define XFA_RESOLVENODE_Parent 0x0040 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 XFA_RESOVENODE_RSTYPE dwFlags; | 58 XFA_RESOVENODE_RSTYPE dwFlags; |
59 const XFA_SCRIPTATTRIBUTEINFO* pScriptAttribute; | 59 const XFA_SCRIPTATTRIBUTEINFO* pScriptAttribute; |
60 }; | 60 }; |
61 | 61 |
62 inline XFA_RESOLVENODE_RS::XFA_RESOLVENODE_RS() | 62 inline XFA_RESOLVENODE_RS::XFA_RESOLVENODE_RS() |
63 : dwFlags(XFA_RESOVENODE_RSTYPE_Nodes), pScriptAttribute(nullptr) {} | 63 : dwFlags(XFA_RESOVENODE_RSTYPE_Nodes), pScriptAttribute(nullptr) {} |
64 | 64 |
65 inline XFA_RESOLVENODE_RS::~XFA_RESOLVENODE_RS() { | 65 inline XFA_RESOLVENODE_RS::~XFA_RESOLVENODE_RS() { |
66 nodes.RemoveAll(); | 66 nodes.RemoveAll(); |
67 } | 67 } |
68 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_H_ | 68 #endif // XFA_FXFA_PARSER_XFA_RESOLVENODE_RS_H_ |
OLD | NEW |