class MIMCVCommandMapper |
Abstract interface for getting mapped command IDs. Command ID mapping means that xSP's own "Names List" command IDs ( constants that are usually defined in a *.hrh file ) are substituted with IDs provided by Extension Manager. This is needed because there may be extensions using same "Names List" command IDs. After the substitution, the original IDs are not valid anymore. Still, in order to allow original "Names List" command IDs usage inside the xSP's own code, MxSPCommandMapper provides the mechanism for retrieving new IDs which correspond to the old original ones and vice versa.
Public Member Functions | |
---|---|
TInt | GetNewCommand ( TInt32 , TInt , TInt &) |
TInt | GetOldCommand ( TInt32 , TInt , TInt &) |
Protected Member Functions | |
---|---|
~MIMCVCommandMapper () |
TInt | GetNewCommand | ( | TInt32 | aPluginId, |
TInt | aOldCommand, | |||
TInt & | aNewCommand | |||
) | const [pure virtual] |
Gets new mapped command ID which corresponds to the given old one
TInt | GetOldCommand | ( | TInt32 | aPluginId, |
TInt | aNewCommand, | |||
TInt & | aOldCommand | |||
) | const [pure virtual] |
Gets old original command ID which corresponds to the given new one
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.