Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_CommandNos Namespace Reference


Functions

CP_CommandNo CP_HICommandToCP_CommandNo (::HICommand inHICommand)
::HICommand CP_CP_CommandNoToHICommand (CP_CommandNo inCP_CommandNo)


Function Documentation

CPLAT_Begin_Namespace_CPLAT CP_CommandNo CP_CommandNos::CP_HICommandToCP_CommandNo ::HICommand  inHICommand  ) 
 

Converts the passed in MacOS HICommand to the equivalent CP_CommandNo for predefined CPLAT commands. If the passed in HICommand is not one of our known commands, then the commandID of the HICommand is returned as a CP_CommandNo.

Parameters:
inHICommand The HICommand to be checked and converted.
Exceptions:
none 
Returns:
CP_CommandNo The result of the conversion.

HICommand CP_CommandNos::CP_CP_CommandNoToHICommand CP_CommandNo  inCP_CommandNo  ) 
 

Converts the passed in CPLAT CP_CommandNo to the equivalent HICommand, if there is a corresponding HICommand. Otherwise if there is no corresponding HICommand, then the commandID is set to the passed in CP_CommandNo.

Parameters:
inCP_CommandNO The CPLAT CP_CommandNo to convert.
Exceptions:
none 
Returns:
HICommand The result of the conversion.


Generated on Sat Sep 17 20:02:36 2005 for CPLAT by  doxygen 1.4.0