Exemple #1
0
status_t Preferences::SetInt8 (const char *name, int8 i)
{
	if (HasInt8 (name) == true)
		return ReplaceInt8 (name, 0, i);

	return AddInt8 (name, i);
}
status_t TPreferences::SetInt8(const char *name, int8 i) {
	if (HasInt8(name)) {
		return ReplaceInt8(name, 0, i);
	}
	return AddInt8(name, i);
}