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

GetPref() retrieves the value of the requested preference.

Parameters:
prefSection - section name of preference (window name, etc.)
prefName - name of preference
prefValue - ref to value of preference (several overloaded types)
Returns:
bool - true if the preference existed, false otherwise. If not found, prefValue remains unchanged.
See also:
SetPref()

Definition at line 62 of file CATPrefs.cpp.

References FindPref(), fPrefLock, CATXMLObject::GetAttribute(), CATMutex::Release(), CATString::Trim(), and CATMutex::Wait().

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


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