| 342 | } |
| 343 | |
| 344 | const UTF8 *Settings::getCurrentGroups() |
| 345 | { |
| 346 | // we want to return a string with our group setup |
| 347 | String returnString; |
| 348 | for(S32 i=0; i<mGroupStack.size(); i++) |
| 349 | { |
| 350 | S32 pos = returnString.size() - 1; |
| 351 | if(pos < 0) |
| 352 | pos = 0; |
| 353 | |
| 354 | if(i == 0) |
| 355 | { |
| 356 | returnString.insert(pos, mGroupStack[i]); |
| 357 | } else |
| 358 | { |
| 359 | returnString.insert(pos, "/"); |
| 360 | returnString.insert(pos+1, mGroupStack[i]); |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | return StringTable->insert(returnString.c_str()); |
| 365 | } |
| 366 | /* |
| 367 | S32 Settings::buildSearchList( const char* pattern, bool deepSearch, bool includeDefaults ) |
| 368 | { |
no test coverage detected