Kernel: Add a Directory object and a getter for it from an Archive object.

This commit is contained in:
Emmanuel Gil Peyrot 2014-09-12 00:48:04 +02:00
parent c14e5713f5
commit c197ce2180
3 changed files with 91 additions and 0 deletions

View file

@ -38,6 +38,14 @@ Handle CreateArchive(FileSys::Archive* backend, const std::string& name);
*/
Handle OpenFileFromArchive(Handle handle, const std::string& name, const FileSys::Mode mode);
/**
* Open a Directory from an Archive
* @param archive_handle Handle to an open Archive object
* @param path Path to the Directory inside of the Archive
* @return Opened Directory object
*/
Handle OpenDirectoryFromArchive(Handle handle, const std::string& name);
/// Initialize archives
void ArchiveInit();