예제 #1
0
status_t Preferences::SetInt64 (const char *name, int64 i)
{
	if (HasInt64 (name) == true)
		return ReplaceInt64 (name, 0, i);

	return AddInt64 (name, i);
}
예제 #2
0
status_t TPreferences::SetInt64(const char *name, int64 i) {
	if (HasInt64(name)) {
		return ReplaceInt64(name, 0, i);
	}
	return AddInt64(name, i);
}