summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_extsavedata.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-26 04:13:13 +0100
committerbunnei <bunneidev@gmail.com>2015-01-26 04:13:13 +0100
commite7dd4d34aa05b185cca8224fa47125f21856f05d (patch)
tree2da4b86c0f08d09502c80fb4ae41fe6259407cfc /src/core/file_sys/archive_extsavedata.h
parentMerge pull request #410 from chinhodado/cleanup (diff)
parentServices/HID: Removed some files due to a rebase error (diff)
downloadyuzu-e7dd4d34aa05b185cca8224fa47125f21856f05d.tar
yuzu-e7dd4d34aa05b185cca8224fa47125f21856f05d.tar.gz
yuzu-e7dd4d34aa05b185cca8224fa47125f21856f05d.tar.bz2
yuzu-e7dd4d34aa05b185cca8224fa47125f21856f05d.tar.lz
yuzu-e7dd4d34aa05b185cca8224fa47125f21856f05d.tar.xz
yuzu-e7dd4d34aa05b185cca8224fa47125f21856f05d.tar.zst
yuzu-e7dd4d34aa05b185cca8224fa47125f21856f05d.zip
Diffstat (limited to 'src/core/file_sys/archive_extsavedata.h')
-rw-r--r--src/core/file_sys/archive_extsavedata.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_extsavedata.h b/src/core/file_sys/archive_extsavedata.h
index fb7f209d2..802a11b5f 100644
--- a/src/core/file_sys/archive_extsavedata.h
+++ b/src/core/file_sys/archive_extsavedata.h
@@ -42,4 +42,21 @@ protected:
std::string concrete_mount_point;
};
+/**
+ * Constructs a path to the concrete ExtData archive in the host filesystem based on the
+ * input Path and base mount point.
+ * @param mount_point The base mount point of the ExtSaveData archives.
+ * @param path The path that identifies the requested concrete ExtSaveData archive.
+ * @returns The complete path to the specified extdata archive in the host filesystem
+ */
+std::string GetExtSaveDataPath(const std::string& mount_point, const Path& path);
+
+/**
+ * Constructs a path to the base folder to hold concrete ExtSaveData archives in the host file system.
+ * @param mount_point The base folder where this folder resides, ie. SDMC or NAND.
+ * @param shared Whether this ExtSaveData container is for SharedExtSaveDatas or not.
+ * @returns The path to the base ExtSaveData archives' folder in the host file system
+ */
+std::string GetExtDataContainerPath(const std::string& mount_point, bool shared);
+
} // namespace FileSys