mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Symbian Installation File] Implement GetFilename().
This commit is contained in:
@@ -39,5 +39,17 @@ public sealed partial class Symbian
|
||||
/// <inheritdoc />
|
||||
public int GetNumberOfEntries() => _opened ? -1 : _files.Count;
|
||||
|
||||
/// <inheritdoc />
|
||||
public string GetFilename(int entryNumber)
|
||||
{
|
||||
if(_opened)
|
||||
return null;
|
||||
|
||||
if(entryNumber < 0 || entryNumber >= _files.Count)
|
||||
return null;
|
||||
|
||||
return _files[entryNumber].destinationName;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -45,9 +45,6 @@ public sealed partial class Symbian
|
||||
{
|
||||
#region IArchive Members
|
||||
|
||||
/// <inheritdoc />
|
||||
public string GetFilename(int entryNumber) => throw new NotImplementedException();
|
||||
|
||||
/// <inheritdoc />
|
||||
public int GetEntryNumber(string fileName, bool caseInsensitiveMatch) => throw new NotImplementedException();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user