MCPcopy Create free account
hub / github.com/LibreVR/Revive / SaveDocument

Method SaveDocument

ReviveOverlay/revivemanifestcontroller.cpp:329–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329bool CReviveManifestController::SaveDocument()
330{
331 if (!m_manifestFile.open(QIODevice::WriteOnly))
332 {
333 qWarning("Couldn't open manifest file for writing");
334 return false;
335 }
336
337 QJsonDocument doc(m_manifest);
338 m_manifestFile.write(doc.toJson());
339 m_manifestFile.close();
340
341 AddApplicationManifest(m_manifestFile);
342
343 return true;
344}
345
346bool CReviveManifestController::addManifest(const QString &canonicalName, const QString &manifest)
347{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected