Add Chromium-only Blender WebEngine parity work
This commit is contained in:
26
blender-5.2.0/intern/cycles/graph/node_xml.h
Normal file
26
blender-5.2.0/intern/cycles/graph/node_xml.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef WITH_PUGIXML
|
||||
|
||||
# include "util/map.h"
|
||||
# include "util/param.h"
|
||||
# include "util/xml.h"
|
||||
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
||||
struct Node;
|
||||
|
||||
struct XMLReader {
|
||||
map<ustring, Node *> node_map;
|
||||
};
|
||||
|
||||
void xml_read_node(XMLReader &reader, Node *node, const xml_node xml_node);
|
||||
xml_node xml_write_node(Node *node, const xml_node xml_root);
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
||||
#endif /* WITH_PUGIXML */
|
||||
Reference in New Issue
Block a user