Add "Author" field to plugins.

This commit is contained in:
2018-08-29 22:15:43 +01:00
parent bb359d88d3
commit abfc476e01
155 changed files with 937 additions and 980 deletions

View File

@@ -51,8 +51,9 @@ namespace DiscImageChef.Filters
DateTime lastWriteTime;
bool opened;
public string Name => "BZip2";
public Guid Id => new Guid("FCCFB0C3-32EF-40D8-9714-2333F6AC72A9");
public string Name => "BZip2";
public Guid Id => new Guid("FCCFB0C3-32EF-40D8-9714-2333F6AC72A9");
public string Author => "Natalia Portillo";
public void Close()
{
@@ -62,30 +63,15 @@ namespace DiscImageChef.Filters
opened = false;
}
public string GetBasePath()
{
return basePath;
}
public string GetBasePath() => basePath;
public Stream GetDataForkStream()
{
return innerStream;
}
public Stream GetDataForkStream() => innerStream;
public string GetPath()
{
return basePath;
}
public string GetPath() => basePath;
public Stream GetResourceForkStream()
{
return null;
}
public Stream GetResourceForkStream() => null;
public bool HasResourceFork()
{
return false;
}
public bool HasResourceFork() => false;
public bool Identify(byte[] buffer)
{
@@ -176,30 +162,15 @@ namespace DiscImageChef.Filters
opened = true;
}
public DateTime GetCreationTime()
{
return creationTime;
}
public DateTime GetCreationTime() => creationTime;
public long GetDataForkLength()
{
return decompressedSize;
}
public long GetDataForkLength() => decompressedSize;
public DateTime GetLastWriteTime()
{
return lastWriteTime;
}
public DateTime GetLastWriteTime() => lastWriteTime;
public long GetLength()
{
return decompressedSize;
}
public long GetLength() => decompressedSize;
public long GetResourceForkLength()
{
return 0;
}
public long GetResourceForkLength() => 0;
public string GetFilename()
{
@@ -211,14 +182,8 @@ namespace DiscImageChef.Filters
: basePath;
}
public string GetParentFolder()
{
return Path.GetDirectoryName(basePath);
}
public string GetParentFolder() => Path.GetDirectoryName(basePath);
public bool IsOpened()
{
return opened;
}
public bool IsOpened() => opened;
}
}