• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef XFA_FXFA_PARSER_CXFA_EVENT_H_
8 #define XFA_FXFA_PARSER_CXFA_EVENT_H_
9 
10 #include <stdint.h>
11 
12 #include "core/fxcrt/fx_string.h"
13 #include "xfa/fxfa/parser/cxfa_data.h"
14 #include "xfa/fxfa/parser/cxfa_script.h"
15 #include "xfa/fxfa/parser/cxfa_submit.h"
16 
17 class CXFA_Node;
18 
19 class CXFA_Event : public CXFA_Data {
20  public:
21   explicit CXFA_Event(CXFA_Node* pNode);
22 
23   int32_t GetActivity();
24   XFA_Element GetEventType();
25   void GetRef(CFX_WideStringC& wsRef);
26 
27   CXFA_Script GetScript();
28   CXFA_Submit GetSubmit();
29 
30   void GetSignDataTarget(CFX_WideString& wsTarget);
31 };
32 
33 #endif  // XFA_FXFA_PARSER_CXFA_EVENT_H_
34