MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / version

Method version

src/app/gui_xml.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::string GuiXml::version()
44{
45 tinyxml2::XMLHandle handle(m_doc.get());
46 tinyxml2::XMLElement* xmlKey = handle.FirstChildElement("gui").ToElement();
47
48 if (xmlKey && xmlKey->Attribute("version")) {
49 const char* guixml_version = xmlKey->Attribute("version");
50 return guixml_version;
51 }
52 else
53 return "";
54}
55
56} // namespace app

Callers 3

reloadMethod · 0.45
saveObjectMethod · 0.45
cropImageMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected