Added CreateFile to the FS_USER service

Tested with hwtests.
This commit is contained in:
archshift
2014-12-20 12:43:50 -03:00
parent c2753d37a7
commit 0625dd09ea
8 changed files with 91 additions and 1 deletions

View File

@ -199,6 +199,14 @@ public:
*/
virtual bool DeleteDirectory(const FileSys::Path& path) const = 0;
/**
* Create a file specified by its path
* @param path Path relative to the Archive
* @param size The size of the new file, filled with zeroes
* @return File creation result code
*/
virtual ResultCode CreateFile(const Path& path, u32 size) const = 0;
/**
* Create a directory specified by its path
* @param path Path relative to the archive