Esempio n. 1
0
status_t Preferences::SetInt64 (const char *name, int64 i)
{
	if (HasInt64 (name) == true)
		return ReplaceInt64 (name, 0, i);

	return AddInt64 (name, i);
}
Esempio n. 2
0
status_t TPreferences::SetInt64(const char *name, int64 i) {
	if (HasInt64(name)) {
		return ReplaceInt64(name, 0, i);
	}
	return AddInt64(name, i);
}