| 713 | } // namespace |
| 714 | |
| 715 | void PortMenu::AddSidebarEntry(std::string sectionName, std::string sidebarName, uint32_t columnCount) { |
| 716 | assert(!sectionName.empty()); |
| 717 | assert(!sidebarName.empty()); |
| 718 | menuEntries.at(sectionName).sidebars.emplace(sidebarName, SidebarEntry{ .columnCount = columnCount }); |
| 719 | menuEntries.at(sectionName).sidebarOrder.push_back(sidebarName); |
| 720 | } |
| 721 | |
| 722 | WidgetInfo& PortMenu::AddWidget(WidgetPath& pathInfo, std::string widgetName, WidgetType widgetType) { |
| 723 | assert(!widgetName.empty()); |
nothing calls this directly
no outgoing calls
no test coverage detected