summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_saxcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/xml/cfx_saxcontext.h')
-rw-r--r--core/fxcrt/xml/cfx_saxcontext.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/fxcrt/xml/cfx_saxcontext.h b/core/fxcrt/xml/cfx_saxcontext.h
new file mode 100644
index 0000000000..7afebed98d
--- /dev/null
+++ b/core/fxcrt/xml/cfx_saxcontext.h
@@ -0,0 +1,23 @@
+// 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 CORE_FXCRT_XML_CFX_SAXCONTEXT_H_
+#define CORE_FXCRT_XML_CFX_SAXCONTEXT_H_
+
+#include "core/fxcrt/fx_basic.h"
+#include "core/fxcrt/fx_string.h"
+#include "core/fxcrt/xml/cfx_saxreader.h"
+
+class CFX_SAXContext {
+ public:
+ CFX_SAXContext() : m_eNode(CFX_SAXItem::Type::Unknown) {}
+
+ CFX_ByteTextBuf m_TextBuf;
+ CFX_ByteString m_bsTagName;
+ CFX_SAXItem::Type m_eNode;
+};
+
+#endif // CORE_FXCRT_XML_CFX_SAXCONTEXT_H_