Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATCmdLine::Initialize
CATResult CATCmdLine::Initialize ( CATResult  prefaceId,
const CATCMDLINEARG cmdTable,
CATStringTable stringTable,
CATLangId  languageId = CATLANG_EN 
)

Initialize the command parser.

Parameters:
prefaceId Preface string to print at start of usage.
cmdTable Application's command line parsing table. This may be built on the fly and deleted after initialization if desired.
stringTable Application's string table. This is expected to be around for the lifetime of the command parser object.
languageId Current language Id to use
Returns:
CATResult CAT_SUCCESS on success.

Definition at line 73 of file CATCmdLine.cpp.

References CAT_SUCCESS, CATRESULT, CATCMDLINEARG::CmdSwitch, fCmdTable, fInitialized, fLangId, fPrefaceId, fStringTable, and Uninitialize().


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