Preferences (in Preferences.cpp and .h) is a BMessage derived class that provided some convenience wrappers.
It looks like in Haiku most of these wrappers already exists and Set* methods already does what we want (i.e. replace if existing or add if none).
We should be able to get rid of the Find* methods too and replace callers with Get* methods with passable default values.
Preferences (in
Preferences.cppand.h) is a BMessage derived class that provided some convenience wrappers.It looks like in Haiku most of these wrappers already exists and
Set*methods already does what we want (i.e. replace if existing or add if none).We should be able to get rid of the
Find*methods too and replace callers withGet*methods with passable default values.