blender/intern/cycles/util/xml.h
Brecht Van Lommel 9cfc7967dd Cycles: use SPDX license headers
* Replace license text in headers with SPDX identifiers.
* Remove specific license info from outdated readme.txt, instead leave details
  to the source files.
* Add list of SPDX license identifiers used, and corresponding license texts.
* Update copyright dates while we're at it.

Ref D14069, T95597
2022-02-11 17:47:34 +01:00

29 lines
567 B
C

/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
#ifndef __UTIL_XML_H__
#define __UTIL_XML_H__
/* PugiXML is used for XML parsing. */
#include <pugixml.hpp>
CCL_NAMESPACE_BEGIN
OIIO_NAMESPACE_USING
#ifdef WITH_SYSTEM_PUGIXML
# define PUGIXML_NAMESPACE pugi
#else
# define PUGIXML_NAMESPACE OIIO_NAMESPACE::pugi
#endif
using PUGIXML_NAMESPACE::xml_attribute;
using PUGIXML_NAMESPACE::xml_document;
using PUGIXML_NAMESPACE::xml_node;
using PUGIXML_NAMESPACE::xml_parse_result;
CCL_NAMESPACE_END
#endif /* __UTIL_XML_H__ */