diff options
author | archshift <admin@archshift.com> | 2014-11-24 08:20:04 +0100 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-11-25 00:09:11 +0100 |
commit | 45afc15aa6b9b1798a321bc053171deb765d7681 (patch) | |
tree | 54da02809c463f89462c3b29a48fb1564f699f01 /src/core/hle/kernel/archive.h | |
parent | Merge pull request #147 from yuriks/error-codes (diff) | |
download | yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.gz yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.bz2 yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.lz yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.xz yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.zst yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/archive.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/kernel/archive.h b/src/core/hle/kernel/archive.h index 6fc4f0f25..5158fbae8 100644 --- a/src/core/hle/kernel/archive.h +++ b/src/core/hle/kernel/archive.h @@ -53,6 +53,17 @@ ResultVal<Handle> OpenFileFromArchive(Handle archive_handle, const FileSys::Path Result DeleteFileFromArchive(Handle archive_handle, const FileSys::Path& path); /** + * Rename a File between two Archives + * @param src_archive_handle Handle to the source Archive object + * @param src_path Path to the File inside of the source Archive + * @param dest_archive_handle Handle to the destination Archive object + * @param dest_path Path to the File inside of the destination Archive + * @return Whether rename succeeded + */ +Result RenameFileBetweenArchives(Handle src_archive_handle, const FileSys::Path& src_path, + Handle dest_archive_handle, const FileSys::Path& dest_path); + +/** * Delete a Directory from an Archive * @param archive_handle Handle to an open Archive object * @param path Path to the Directory inside of the Archive |