* Creates a string that is effectively "namespace:key" so we can create a single map (bundle) * to store all the key/value pairs. * * @param[in] namespace * @param[in] key * @param[out] out */
| 16 | * @param[out] out |
| 17 | */ |
| 18 | std::string get_bundle_key(const std::string& namespace_, const std::string& key) { |
| 19 | return namespace_ + ':' + key; |
| 20 | } |
| 21 | |
| 22 | bool Preferences::hasBool(const std::string& key) const { |
| 23 | std::string bundle_key = get_bundle_key(namespace_, key); |
no outgoing calls
no test coverage detected