mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-11 21:29:18 +00:00
20 lines
713 B
C#
20 lines
713 B
C#
using SabreTools.Serialization.Wrappers;
|
|
|
|
namespace BinaryObjectScanner.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Mark a MSDOS type as being able to be extracted
|
|
/// </summary>
|
|
public interface IExtractableMSDOSExecutable
|
|
{
|
|
/// <summary>
|
|
/// Extract a MSDOS to a temporary path, if possible
|
|
/// </summary>
|
|
/// <param name="file">Path to the input file</param>
|
|
/// <param name="mz">MSDOS representing the read-in file</param>
|
|
/// <param name="includeDebug">True to include debug data, false otherwise</param>
|
|
/// <returns>Path to extracted files, null on error</returns>
|
|
string? Extract(string file, MSDOS mz, bool includeDebug);
|
|
}
|
|
}
|