Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATApp::GetString
CATString CATApp::GetString ( CATUInt32  stringId  ) 

GetString() retrieves the string for the current language (set in SetLanguage) associated with the stringId.

SetLanguage() should be called before calling GetString(). GetString() is threadsafe, and may be called from any thread in the application.

Parameters:
stringId - ID for the string - these will be defined in the CATResult_* files.
Returns:
CATString - requested string, fallback string, or an empty string if none was found.
See also:
SetLanguage()

Definition at line 245 of file CATApp.cpp.

References CAT_SUCCESS, CATASSERT, CATFAILED, fAppLock, fStringTable, CATStringTableCore::GetString(), CATMutex::Release(), and CATMutex::Wait().

Referenced by DisplayError().


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