diff options
| author | 2014-11-11 19:27:35 -0500 | |
|---|---|---|
| committer | 2014-11-17 21:49:24 -0500 | |
| commit | a3107a6b571dedb8828b20ddcb709ec17db9715a (patch) | |
| tree | 367848a8e6e445e062f10378d45aa6a4abfcb63b /src/core/file_sys/archive.h | |
| parent | FileSys: Added DebugStr method to Path class. (diff) | |
| download | yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar.gz yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.tar.xz yuzu-a3107a6b571dedb8828b20ddcb709ec17db9715a.zip | |
FileSys: Updated backend code to use FileSys::Path instead of string for paths.
Diffstat (limited to 'src/core/file_sys/archive.h')
| -rw-r--r-- | src/core/file_sys/archive.h | 6 |
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: | |||
| 182 | * @param mode Mode to open the file with | 182 | * @param mode Mode to open the file with |
| 183 | * @return Opened file, or nullptr | 183 | * @return Opened file, or nullptr |
| 184 | */ | 184 | */ |
| 185 | virtual std::unique_ptr<File> OpenFile(const std::string& path, const Mode mode) const = 0; | 185 | virtual std::unique_ptr<File> OpenFile(const Path& path, const Mode mode) const = 0; |
| 186 | 186 | ||
| 187 | /** | 187 | /** |
| 188 | * Create a directory specified by its path | 188 | * Create a directory specified by its path |
| 189 | * @param path Path relative to the archive | 189 | * @param path Path relative to the archive |
| 190 | * @return Whether the directory could be created | 190 | * @return Whether the directory could be created |
| 191 | */ | 191 | */ |
| 192 | virtual bool CreateDirectory(const std::string& path) const = 0; | 192 | virtual bool CreateDirectory(const Path& path) const = 0; |
| 193 | 193 | ||
| 194 | /** | 194 | /** |
| 195 | * Open a directory specified by its path | 195 | * Open a directory specified by its path |
| 196 | * @param path Path relative to the archive | 196 | * @param path Path relative to the archive |
| 197 | * @return Opened directory, or nullptr | 197 | * @return Opened directory, or nullptr |
| 198 | */ | 198 | */ |
| 199 | virtual std::unique_ptr<Directory> OpenDirectory(const std::string& path) const = 0; | 199 | virtual std::unique_ptr<Directory> OpenDirectory(const Path& path) const = 0; |
| 200 | 200 | ||
| 201 | /** | 201 | /** |
| 202 | * Read data from the archive | 202 | * Read data from the archive |