function plc_ide_list = plc_custom_ide
%

%   Copyright 2014-2022 The MathWorks, Inc.

% Generic codegen config customization file for indraworks target

    plc_ide_list(1) = get_ide_info_indraworks;
end

function ide_info = get_ide_info_indraworks
    ide_info.name = 'indraworks';
    ide_info.description = 'Rexroth IndraWorks';
    ide_info.path = ''; % IDE path
    ide_info.format = 'xml'; % generic|xml
    ide_info.fileExtension = 'xml';
    ide_info.cfg = get_ide_cfg_indraworks;
    ide_info.precg_callback = PLCCoder.PLCCGMgr.PLC_PLUGIN_CG_CALLBACK_EMPTY;
    ide_info.postcg_callback = 'plc_postcg_callback_indraworks';
    ide_info.xmltree_callback = PLCCoder.PLCCGMgr.PLC_PLUGIN_CG_CALLBACK_EMPTY;
    ide_info.pluginVersion = 1.0;
    ide_info.compatibleBuildVersion = 1.6;
end

function cfg = get_ide_cfg_indraworks
    cfg.fConvertNamedConstantToInteger = true;
    cfg.fReplaceShiftFunctions = true;
    cfg.fEmitXsdSchema = 'none';
end

% LocalWords:  indraworks  Rexroth postcg
