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_DATAWINDOW_H_ 8 #define XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_ 9 10 #include "fxjs/xfa/cjx_datawindow.h" 11 #include "xfa/fxfa/parser/cxfa_object.h" 12 13 class CScript_DataWindow : public CXFA_Object { 14 public: 15 explicit CScript_DataWindow(CXFA_Document* pDocument); 16 ~CScript_DataWindow() override; 17 18 CJX_DataWindow* JSDataWindow() { 19 return static_cast<CJX_DataWindow*>(JSObject()); 20 } 21 }; 22 23 #endif // XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_ 24