(ArchiveFormat): ditched overwrite stubs.

This commit is contained in:
morkt 2018-01-04 20:40:02 +04:00
parent 10ff376de2
commit 3732d8bb5d

View File

@ -85,10 +85,6 @@ namespace GameRes
static public Stream CreateFile (string filename) static public Stream CreateFile (string filename)
{ {
filename = CreatePath (filename); filename = CreatePath (filename);
if (File.Exists (filename))
{
// query somehow whether to overwrite existing file or not.
}
return File.Create (filename); return File.Create (filename);
} }
@ -151,10 +147,4 @@ namespace GameRes
} }
public delegate ArchiveOperation EntryCallback (int num, Entry entry, string description); public delegate ArchiveOperation EntryCallback (int num, Entry entry, string description);
public class OverwriteEventArgs : EventArgs
{
public string Filename { get; set; }
public bool Overwrite { get; set; }
}
} }