ILayout* FindLayoutNamed(const ParsedMui& muiInfo, const char* name) { for (size_t i = 0; i < muiInfo.layouts.size(); i++) { ILayout* l = muiInfo.layouts.at(i); if (l->IsNamed(name)) return l; } return nullptr; }
ILayout *FindLayoutNamed(const ParsedMui& muiInfo, const char *name) { for (size_t i = 0; i < muiInfo.layouts.Count(); i++) { ILayout *l = muiInfo.layouts.At(i); if (l->IsNamed(name)) return l; } return NULL; }