1 // Copyright 2014 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_CSCRIPT_EVENTPSEUDOMODEL_H_ 8 #define XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_ 9 10 #include "fxjs/xfa/cjx_eventpseudomodel.h" 11 #include "xfa/fxfa/parser/cxfa_object.h" 12 13 class CScript_EventPseudoModel : public CXFA_Object { 14 public: 15 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); 16 ~CScript_EventPseudoModel() override; 17 18 CJX_EventPseudoModel* JSEventPseudoModel() { 19 return static_cast<CJX_EventPseudoModel*>(JSObject()); 20 } 21 }; 22 23 #endif // XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_ 24