summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cxml_content.h
blob: 261c622ecabce486b88f6335652e3a062df11ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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_