summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_saxcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_saxcontext.h')
-rw-r--r--xfa/fxfa/cxfa_saxcontext.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_saxcontext.h b/xfa/fxfa/cxfa_saxcontext.h
new file mode 100644
index 0000000000..47e7b78423
--- /dev/null
+++ b/xfa/fxfa/cxfa_saxcontext.h
@@ -0,0 +1,19 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef XFA_FXFA_CXFA_SAXCONTEXT_H_
+#define XFA_FXFA_CXFA_SAXCONTEXT_H_
+
+class CXFA_SAXContext {
+ public:
+ CXFA_SAXContext() : m_eNode(CFX_SAXItem::Type::Unknown) {}
+
+ CFX_ByteTextBuf m_TextBuf;
+ CFX_ByteString m_bsTagName;
+ CFX_SAXItem::Type m_eNode;
+};
+
+#endif // XFA_FXFA_CXFA_SAXCONTEXT_H_