[Symbian Installation File] Implement GetFilename().

This commit is contained in:
2023-10-07 17:54:57 +01:00
parent 0ad524da75
commit 7a2272f819
2 changed files with 12 additions and 3 deletions

View File

@@ -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
}

View File

@@ -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();