using System; namespace ZXLA { public interface IFileSystem { // event Action OnCreateFile; // event Action OnCreateDirectory; event Action OnFileSystemChanged; void CreateFile(string path, int parentDepth); bool FileExists(string path); void RenameFile(string path, string newName); void MoveFile(string oldPath, string newPath); void DeleteFile(string path); void CreateDirectory(string path, int parentDepth); bool DirectoryExists(string path); void RenameDirectory(string path, string newName); void MoveDirectory(string oldPath, string newPath); void DeleteDirectory(string path); } }