Teknomancer / beezer

Beezer is an archiving tool for the Haiku operating system.
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Discard superfluous functionality in Preferences class #18

Open Teknomancer opened 3 years ago

Teknomancer commented 3 years ago

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.