🎨REFACTOR: Plugins do not need to expose their methods as virtual.

This commit is contained in:
2017-12-26 07:28:40 +00:00
parent 6aee3c9cb1
commit 94d8173b3a
168 changed files with 2161 additions and 2161 deletions

View File

@@ -36,7 +36,7 @@ namespace DiscImageChef.Filesystems.CPM
{
partial class CPM
{
public virtual Errno GetAttributes(string path, ref FileAttributes attributes)
public Errno GetAttributes(string path, ref FileAttributes attributes)
{
if(!mounted) return Errno.AccessDenied;
@@ -59,12 +59,12 @@ namespace DiscImageChef.Filesystems.CPM
}
// TODO: Implementing this would require storing the interleaving
public virtual Errno MapBlock(string path, long fileBlock, ref long deviceBlock)
public Errno MapBlock(string path, long fileBlock, ref long deviceBlock)
{
return !mounted ? Errno.AccessDenied : Errno.NotImplemented;
}
public virtual Errno Read(string path, long offset, long size, ref byte[] buf)
public Errno Read(string path, long offset, long size, ref byte[] buf)
{
if(!mounted) return Errno.AccessDenied;
@@ -90,12 +90,12 @@ namespace DiscImageChef.Filesystems.CPM
return Errno.NoError;
}
public virtual Errno ReadLink(string path, ref string dest)
public Errno ReadLink(string path, ref string dest)
{
return !mounted ? Errno.AccessDenied : Errno.NotSupported;
}
public virtual Errno Stat(string path, ref FileEntryInfo stat)
public Errno Stat(string path, ref FileEntryInfo stat)
{
if(!mounted) return Errno.AccessDenied;