mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(ArchiveFormat): ditched overwrite stubs.
This commit is contained in:
@@ -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; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user