status_t Preferences::SetInt8 (const char *name, int8 i) { if (HasInt8 (name) == true) return ReplaceInt8 (name, 0, i); return AddInt8 (name, i); }
status_t AttributeMessage::SetAttribute(const char* name, int8 value) { if (ReplaceInt8(name, value) == B_OK) return B_OK; return AddInt8(name, value); }
status_t TPreferences::SetInt8(const char *name, int8 i) { if (HasInt8(name)) { return ReplaceInt8(name, 0, i); } return AddInt8(name, i); }