aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/FileSystem/IFileSystemProvider.cs
diff options
context:
space:
mode:
authorAlex Barney <thealexbarney@gmail.com>2019-05-31 19:31:10 -0500
committerAc_K <Acoustik666@gmail.com>2019-06-01 02:31:10 +0200
commit5fc1f6a1af7df0294069cd432c796e6546a4b38d (patch)
tree6c3b9b09dece9594a84f3bbb6fdef8a97f643784 /Ryujinx.HLE/FileSystem/IFileSystemProvider.cs
parent92c1726647964da9230bc4f4c631a233cd064665 (diff)
Update to version 0.4 of LibHac (#689)
* It compiles * Print correct name when loading an exefs * Use DirectorySaveDataFileSystem for savedata * Handle more errors in IFileSystem * Remove structs replaced by LibHac structs * Fix alignment * Fix alignment again * Fix IFile and IFileSystem IPC * Alignment * Use released libhac version
Diffstat (limited to 'Ryujinx.HLE/FileSystem/IFileSystemProvider.cs')
-rw-r--r--Ryujinx.HLE/FileSystem/IFileSystemProvider.cs43
1 files changed, 0 insertions, 43 deletions
diff --git a/Ryujinx.HLE/FileSystem/IFileSystemProvider.cs b/Ryujinx.HLE/FileSystem/IFileSystemProvider.cs
deleted file mode 100644
index 82cdebd9..00000000
--- a/Ryujinx.HLE/FileSystem/IFileSystemProvider.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using Ryujinx.HLE.HOS;
-using Ryujinx.HLE.HOS.Services.FspSrv;
-using System;
-
-namespace Ryujinx.HLE.FileSystem
-{
- interface IFileSystemProvider
- {
- long CreateFile(string name, long size);
-
- long CreateDirectory(string name);
-
- long RenameFile(string oldName, string newName);
-
- long RenameDirectory(string oldName, string newName);
-
- DirectoryEntry[] GetEntries(string path);
-
- DirectoryEntry[] GetDirectories(string path);
-
- DirectoryEntry[] GetFiles(string path);
-
- long DeleteFile(string name);
-
- long DeleteDirectory(string name, bool recursive);
-
- bool FileExists(string name);
-
- bool DirectoryExists(string name);
-
- long OpenFile(string name, out IFile fileInterface);
-
- long OpenDirectory(string name, int filterFlags, out IDirectory directoryInterface);
-
- string GetFullPath(string name);
-
- long GetFreeSpace(ServiceCtx context);
-
- long GetTotalSpace(ServiceCtx context);
-
- FileTimestamp GetFileTimeStampRaw(string name);
- }
-}