summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cxml_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/xml/cxml_content.h')
-rw-r--r--core/fxcrt/xml/cxml_content.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/fxcrt/xml/cxml_content.h b/core/fxcrt/xml/cxml_content.h
new file mode 100644
index 0000000000..261c622eca
--- /dev/null
+++ b/core/fxcrt/xml/cxml_content.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_CXML_CONTENT_H_
+#define CORE_FXCRT_XML_CXML_CONTENT_H_
+
+class CXML_Content {
+ public:
+ CXML_Content() : m_bCDATA(false), m_Content() {}
+
+ void Set(bool bCDATA, const CFX_WideStringC& content) {
+ m_bCDATA = bCDATA;
+ m_Content = content;
+ }
+
+ bool m_bCDATA;
+ CFX_WideString m_Content;
+};
+
+#endif // CORE_FXCRT_XML_CXML_CONTENT_H_