code = ReplaceAll(code, "<NAME>", GetFullNameFromType(type));
} else if (type.ToString() == "bundle") {
code = std::string(CB_STRUCTURE_LIST_BUNDLE_FREE);
- } else if (type.ToString() == "string" || type.ToString() == "flie") {
+ } else if (type.ToString() == "string" || type.ToString() == "file") {
code = std::string(CB_STRUCTURE_LIST_STRING_FREE);
} else {
code = std::string(CB_STRUCTURE_LIST_BASE_FREE);
} else if (type.ToString() == "bundle") {
code = ReplaceAll(CB_STRUCTURE_BASE_BUNDLE_FREE, "<ELEMENT_NAME>",
elm->GetID());
- } else if (type.ToString() == "string" || type.ToString() == "flie") {
+ } else if (type.ToString() == "string" || type.ToString() == "file") {
code = ReplaceAll(CB_STRUCTURE_BASE_STRING_FREE, "<ELEMENT_NAME>",
elm->GetID());
}
code = ReplaceAll(code, "<NAME>", GetFullNameFromType(type));
} else if (type.ToString() == "bundle") {
code = std::string(CB_STRUCTURE_LIST_BUNDLE_FREE);
- } else if (type.ToString() == "string" || type.ToString() == "flie") {
+ } else if (type.ToString() == "string" || type.ToString() == "file") {
code = std::string(CB_STRUCTURE_LIST_STRING_FREE);
} else {
code = std::string(CB_STRUCTURE_LIST_BASE_FREE);
} else if (type.ToString() == "bundle") {
code = ReplaceAll(CB_STRUCTURE_BASE_BUNDLE_FREE, "<ELEMENT_NAME>",
elm->GetID());
- } else if (type.ToString() == "string" || type.ToString() == "flie") {
+ } else if (type.ToString() == "string" || type.ToString() == "file") {
code = ReplaceAll(CB_STRUCTURE_BASE_STRING_FREE, "<ELEMENT_NAME>",
elm->GetID());
}