// DIE's signature file
includeScript("FPC");

init("library","LCL");

function detect(bShowType,bShowVersion,bShowOptions)
{
    if(bFPC)
    {
        var nSize=PE.isOverlayPresent()?PE.getOverlayOffset():PE.getSize();
        var nOffset=PE.findString(0,nSize,"LCLVersion");
        if(nOffset!=-1)
        {
            sVersion=PE.getString(nOffset+12);
            bDetected=1;
        }
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
