OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CXFA_EVENT_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_EVENT_H_ |
8 #define XFA_FXFA_PARSER_CXFA_EVENT_H_ | 8 #define XFA_FXFA_PARSER_CXFA_EVENT_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 #include "core/fxcrt/include/fx_string.h" | 12 #include "core/fxcrt/include/fx_string.h" |
13 #include "xfa/fxfa/parser/cxfa_data.h" | 13 #include "xfa/fxfa/parser/cxfa_data.h" |
14 #include "xfa/fxfa/parser/cxfa_script.h" | 14 #include "xfa/fxfa/parser/cxfa_script.h" |
15 #include "xfa/fxfa/parser/cxfa_submit.h" | 15 #include "xfa/fxfa/parser/cxfa_submit.h" |
16 | 16 |
17 class CXFA_Node; | 17 class CXFA_Node; |
18 | 18 |
19 class CXFA_Event : public CXFA_Data { | 19 class CXFA_Event : public CXFA_Data { |
20 public: | 20 public: |
21 explicit CXFA_Event(CXFA_Node* pNode); | 21 explicit CXFA_Event(CXFA_Node* pNode); |
22 | 22 |
23 int32_t GetActivity(); | 23 int32_t GetActivity(); |
24 int32_t GetEventType(); | 24 XFA_Element GetEventType(); |
25 void GetRef(CFX_WideStringC& wsRef); | 25 void GetRef(CFX_WideStringC& wsRef); |
26 | 26 |
27 CXFA_Script GetScript(); | 27 CXFA_Script GetScript(); |
28 CXFA_Submit GetSubmit(); | 28 CXFA_Submit GetSubmit(); |
29 | 29 |
30 void GetSignDataTarget(CFX_WideString& wsTarget); | 30 void GetSignDataTarget(CFX_WideString& wsTarget); |
31 }; | 31 }; |
32 | 32 |
33 #endif // XFA_FXFA_PARSER_CXFA_EVENT_H_ | 33 #endif // XFA_FXFA_PARSER_CXFA_EVENT_H_ |
OLD | NEW |