| 48 | } |
| 49 | |
| 50 | std::string path(const std::string& key, const std::string& domain) { |
| 51 | app::ResourceFinder rf; |
| 52 | rf.includeUserDir(((domain.empty() ? app::AppScripting::getFileName() : domain) + "." + key).c_str()); |
| 53 | return rf.getFirstOrCreateDefault(); |
| 54 | } |
| 55 | |
| 56 | void unload(const std::string& key, const std::string& domain) { |
| 57 | auto domainIt = storage.find(domain.empty() ? app::AppScripting::getFileName() : domain); |
no test coverage detected