Preferences
Preferences preferences(kPreferencesFileName);
Preferences tPreferences(kPreferencesFileName);
Preferences::MakeEmpty()
Preferences::SaveWindowPosition(BWindow* window, const char* name)
Preferences::LoadWindowPosition(BWindow* window, const char* name)
Preferences::SaveWindowFrame(BWindow* window, const char* name)
Preferences::LoadWindowFrame(BWindow* window, const char* name)
Preferences::SaveInt32(int32 value, const char* name)
Preferences::ReadInt32(int32 &val, const char* name)
Preferences::SaveFloat(float val, const char* name)
Preferences::ReadFloat(float &val, const char* name)
Preferences::SaveRect(BRect& rect, const char* name)
Preferences::ReadRect(BRect& rect, const char* name)
Preferences::Preferences(const char* name, const char* signature, bool doSave)
Preferences::SaveString(BString &string, const char* name)
Preferences::SaveString(const char* string, const char* name)
Preferences::ReadString(BString &string, const char* name)
Preferences::Preferences(const entry_ref &ref, const char* signature, bool doSave)
Preferences::~Preferences()
class Preferences : public BMessage, public BLocker {
Preferences(const char* thename, const char* thesignature = NULL, bool doSave = true);
Preferences(const entry_ref& ref, const char* thesignature = NULL, bool doSave = true);
~Preferences();
extern Preferences gPreferences;
Preferences preferences(kPreferencesFileName);
Preferences tPreferences(kPreferencesFileName, NULL, false);
Preferences preferences(kPreferencesFileName, NULL, false);