Home | History | Annotate | Download | only in parser
      1 // Copyright 2017 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_THISPROXY_H_
      8 #define XFA_FXFA_PARSER_CXFA_THISPROXY_H_
      9 
     10 #include "xfa/fxfa/parser/cxfa_object.h"
     11 
     12 class CXFA_Node;
     13 
     14 class CXFA_ThisProxy : public CXFA_Object {
     15  public:
     16   CXFA_ThisProxy(CXFA_Node* pThisNode, CXFA_Node* pScriptNode);
     17   ~CXFA_ThisProxy() override;
     18 
     19   CXFA_Node* GetThisNode() const { return m_pThisNode; }
     20   CXFA_Node* GetScriptNode() const { return m_pScriptNode; }
     21 
     22  private:
     23   CXFA_Node* m_pThisNode;
     24   CXFA_Node* m_pScriptNode;
     25 };
     26 
     27 #endif  // XFA_FXFA_PARSER_CXFA_THISPROXY_H_
     28