31 const int status = swmm_heat_get_authoring_flags(engine, &flags);
32 if (status != SWMM_OK || !(flags & 1u))
34 constexpr auto id =
"org.hydrocouple.openswmm.heat";
35 if (swmm_process_component_find(engine,
id) >= 0)
37 const auto name =
"heat-" + QUuid::createUuid().toString(QUuid::WithoutBraces) +
".cfg";
38 return swmm_process_component_register(engine,
id, name.toUtf8().constData());