Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATPrefs::SetPref
bool CATPrefs::SetPref ( const CATString prefSection,
const CATString prefName,
const CATString prefValue 
)

SetPref() sets the value of the specified preference.

Parameters:
prefSection - section name of preference (window name, etc.)
prefName - name of preference
prefValue - value of preference (several overloaded types)
Returns:
bool - true on success.
See also:
SetPref()

Definition at line 86 of file CATPrefs.cpp.

References CATXMLObject::AddAttribute(), CATXMLObject::AddChild(), CAT_SUCCESS, CATSUCCEEDED, FindPref(), FindSection(), fPrefLock, fRootNode, CATMutex::Release(), and CATString::Trim().

Referenced by CATWindow::SetPref(), and SetPref().


Generated on Mon Feb 11 04:10:48 2008 for Game Accessibility Suite by doxygen 1.5.4