Lines Matching defs:defValue
49 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue)
53 return defValue;
55 return ptr->GetString(key, defValue);
69 int PreferencesUtil::ObtainInt(const std::string &key, int defValue)
73 return defValue;
75 return ptr->GetInt(key, defValue);
89 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue)
93 return defValue;
95 return ptr->GetBool(key, defValue);
109 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue)
113 return defValue;
115 return ptr->GetLong(key, defValue);
129 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue)
133 return defValue;
135 return ptr->GetFloat(key, defValue);