Ryujinx-uplift/Ryujinx.HLE/FileSystem/IFileSystemProvider.cs
gdkchan 3615a70cae
Revert "Adjust naming conventions and general refactoring in HLE Project (#490)" (#526)
This reverts commit 85dbb9559ad317a657dafd24da27fec4b3f5250f.
2018-12-04 22:52:39 -02:00

42 lines
1009 B
C#

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);
}
}