Declared in <XPreferences.h>
The preferences record. While this exists, the preferences file is open and can be modified.
Construction/Destruction
XGPreferences::XGPreferences
XGPreferences::XGPreferences
XGPreferences::XGPreferences
XGPreferences::~XGPreferences
Get/Set Values
XGPreferences::DeleteValue
XGPreferences::GetBoolean
XGPreferences::GetInteger
XGPreferences::GetString
XGPreferences::SetBoolean
XGPreferences::SetInteger
XGPreferences::SetString
Construction/Destruction
Usage: XGPreferences::XGPreferences(char*file)
Construct me. This is the Unix version, which takes the name of the file to store in the user's home directory
Usage: XGPreferences::XGPreferences(char*company,char*program,char*version)
Construct me. This is the Windows version, which takes the name of the company, program and version information for storing this collection of definitions in the registry file.
Usage: void XGPostWinOSError::GetErrorString(DWORD err,char*str)
Construct me. This is the Macintosh version, which takes the name of the file to store in the Preferences Folder, and the creator type
Usage: XGPreferences::~XGPreferences()
Delete preferences data
Get/Set Values
Usage: void XGPreferences::DeleteValue(char*key)
Delete this key
Usage: bool XGPreferences::GetBoolean(char*key)
Get boolean value
Usage: long XGPreferences::GetInteger(char*key)
Get integer
Usage: void XGPreferences::GetString(char*key,char*string)
Get the string value
Usage: void XGPreferences::SetBoolean(char*key,bool value)
Set the boolean value
Usage: void XGPreferences::SetInteger(char*key,long value)
Set integer value
Usage: void XGPreferences::SetString(char*key,char*string)
Set the string value