mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-11 05:35:15 +00:00
20 lines
760 B
C#
20 lines
760 B
C#
using SabreTools.Serialization.Wrappers;
|
|
|
|
namespace BinaryObjectScanner.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Mark a LinearExecutable type as being able to be extracted
|
|
/// </summary>
|
|
public interface IExtractableLinearExecutable
|
|
{
|
|
/// <summary>
|
|
/// Extract a LinearExecutable to a temporary path, if possible
|
|
/// </summary>
|
|
/// <param name="file">Path to the input file</param>
|
|
/// <param name="lex">LinearExecutable 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, LinearExecutable lex, bool includeDebug);
|
|
}
|
|
}
|