summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-11-12 01:27:35 +0100
committerbunnei <bunneidev@gmail.com>2014-11-18 03:49:24 +0100
commita3107a6b571dedb8828b20ddcb709ec17db9715a (patch)
tree367848a8e6e445e062f10378d45aa6a4abfcb63b /src/core/file_sys/archive.h
parentFileSys: Added DebugStr method to Path class. (diff)
downloadyuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar
yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar.gz
yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar.bz2
yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar.lz
yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar.xz
yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar.zst
yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.zip
Diffstat (limited to 'src/core/file_sys/archive.h')
-rw-r--r--src/core/file_sys/archive.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h
index 7b3130f16..dc2d2ced9 100644
--- a/src/core/file_sys/archive.h
+++ b/src/core/file_sys/archive.h
@@ -182,21 +182,21 @@ public:
* @param mode Mode to open the file with
* @return Opened file, or nullptr
*/
- virtual std::unique_ptr<File> OpenFile(const std::string& path, const Mode mode) const = 0;
+ virtual std::unique_ptr<File> OpenFile(const Path& path, const Mode mode) const = 0;
/**
* Create a directory specified by its path
* @param path Path relative to the archive
* @return Whether the directory could be created
*/
- virtual bool CreateDirectory(const std::string& path) const = 0;
+ virtual bool CreateDirectory(const Path& path) const = 0;
/**
* Open a directory specified by its path
* @param path Path relative to the archive
* @return Opened directory, or nullptr
*/
- virtual std::unique_ptr<Directory> OpenDirectory(const std::string& path) const = 0;
+ virtual std::unique_ptr<Directory> OpenDirectory(const Path& path) const = 0;
/**
* Read data from the archive