InventoryView::readXML

This commit is contained in:
MihailRis
2024-02-06 23:26:11 +03:00
parent 8dbbea7b6d
commit 23705e065e
4 changed files with 91 additions and 10 deletions
+17
View File
@@ -21,12 +21,29 @@ namespace gui {
void add(const std::string& tag, uinode_reader reader);
std::shared_ptr<UINode> readUINode(xml::xmlelement element);
void readUINode(
UiXmlReader& reader,
xml::xmlelement element,
UINode& node
);
void readUINode(
UiXmlReader& reader,
xml::xmlelement element,
Container& container
);
std::shared_ptr<UINode> readXML(
const std::string& filename,
const std::string& source
);
std::shared_ptr<UINode> readXML(
const std::string& filename,
xml::xmlelement root
);
const std::string& getFilename() const;
};
}