Esempio n. 1
0
status_t Preferences::SetInt16 (const char *name, int16 i)
{
	if (HasInt16 (name) == true)
		return ReplaceInt16 (name, 0, i);

	return AddInt16 (name, i);
}
Esempio n. 2
0
status_t TPreferences::SetInt16(const char *name, int16 i) {
	if (HasInt16(name)) {
		return ReplaceInt16(name, 0, i);
	}
	return AddInt16(name, i);
}