| 66 | } |
| 67 | |
| 68 | bool TreeImportExport::readXmlFile(TiXmlDocument& doc, const WCHAR * xmlFilePath) |
| 69 | { |
| 70 | bool success = false; |
| 71 | |
| 72 | FILE * pFile = 0; |
| 73 | if (_wfopen_s(&pFile, xmlFilePath, L"rb") == 0) |
| 74 | { |
| 75 | success = doc.LoadFile(pFile); |
| 76 | fclose (pFile); |
| 77 | } |
| 78 | |
| 79 | return success; |
| 80 | } |
| 81 | |
| 82 | bool TreeImportExport::saveXmlToFile(const TiXmlDocument& doc, const WCHAR * xmlFilePath) |
| 83 | { |
nothing calls this directly
no outgoing calls
no test coverage detected