| 528 | } |
| 529 | |
| 530 | std::string GetPreferred() |
| 531 | { |
| 532 | // generate output string |
| 533 | std::string result; |
| 534 | for (auto const & e : GetSystemPreferred()) |
| 535 | { |
| 536 | result.append(e); |
| 537 | result.push_back('|'); |
| 538 | } |
| 539 | |
| 540 | if (result.empty()) |
| 541 | result = "default"; |
| 542 | else |
| 543 | result.pop_back(); |
| 544 | return result; |
| 545 | } |
| 546 | |
| 547 | std::string GetCurrentOrig() |
| 548 | { |