| 577 | } |
| 578 | |
| 579 | ConfigValue Config::specialProcessing(ConfigKey key, ConfigValue val) |
| 580 | { |
| 581 | // irregular case |
| 582 | switch (key) |
| 583 | { |
| 584 | case KEY_SECURITY_DATABASE: |
| 585 | if (!val.strVal) |
| 586 | { |
| 587 | val.strVal = MasterInterfacePtr()->getConfigManager()->getDefaultSecurityDb(); |
| 588 | if (!val.strVal) |
| 589 | val.strVal = "security.db"; |
| 590 | } |
| 591 | break; |
| 592 | } |
| 593 | |
| 594 | return val; |
| 595 | } |
| 596 | |
| 597 | bool Config::getValue(unsigned int key, string& str) const |
| 598 | { |
nothing calls this directly
no test coverage detected