updated ExtractFiles call with new callback syntax.

This commit is contained in:
morkt 2014-08-01 16:40:33 +04:00
parent 867adcdd31
commit a4570fdb04

View File

@ -29,9 +29,16 @@ namespace GARbro
void ExtractAll (ArcFile arc) void ExtractAll (ArcFile arc)
{ {
arc.ExtractFiles ((i, entry) => { arc.ExtractFiles ((i, entry, msg) => {
if (null != entry)
{
Console.WriteLine ("Extracting {0} ...", entry.Name); Console.WriteLine ("Extracting {0} ...", entry.Name);
return ExtractAction.Continue; }
else if (null != msg)
{
Console.WriteLine (msg);
}
return ArchiveOperation.Continue;
}); });
} }