mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 12:39:16 +08:00
(ArchiveFormat): ditched overwrite stubs.
This commit is contained in:
parent
10ff376de2
commit
3732d8bb5d
@ -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; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user