CVCCommandUi Class Reference
class CVCCommandUi : public CBase |
Container for VC app specific "human-visible" parts of the voice command: tooltip, displayable text, folder, icon, etc
Constructor & Destructor Documentation
Member Functions Documentation
ConfirmationNeeded()
IMPORT_C TBool | ConfirmationNeeded | ( | ) | const |
ConstructL(const TDesC &, const CVCFolderInfo &, TBool, const TDesC &, const TUid &, const TDesC &, TBool)
Second-phase constructor NewL for guard conditionsSecond-phase constructor NewL for guarding conditions
ConstructL(RReadStream &)
EqualNonUserChangeableData(const CVCCommandUi &)
Tells if all non user-changeable parts of aCommandUi are equal to this object's
ExternalizeL(RWriteStream &)
Saves the command to stream. Descriptor components are saved as <length><descriptor> pairs, where <length> is TInt32 and <descriptor> is the default descriptor represetation TBools are saved as TInt32 either
IconLC()
Creates the command icon. Takes into account the skin-specifics Works only if CEikonEnv is available
IconUid()
IMPORT_C const TUid & | IconUid | ( | ) | const |
Modifiable()
IMPORT_C TBool | Modifiable | ( | ) | const |
NewL(const TDesC &, const CVCFolderInfo &, TBool, const TDesC &, const TUid &, const TDesC &, TBool)
Parameters
const TDesC & aWrittenText | Text to display |
const CVCFolderInfo & aFolderInfo | Folder-related details |
TBool aModifiable | If user can modify the command |
const TDesC & aTooltip | Second line of the text if ant |
const TUid & aIconUid | |
const TDesC & aUserText =
KNullDesC
| Optional user-specified shortcut for the command |
TBool aConfirmationNeeded = ETrue | If EFalse, when the command is recognized, it is immediately executed If ETrue, when the command is recognized, it is played back and user is asked to confirm the recognition results |
NewL(RReadStream &)
Factory function that constructs a
CVCCommandUi from the stream
- leave
- KErrNotSupported if the stream data format is unsupported e.g. if it has been written by newer implementation
Internalizes the command from stream values are read in the same order as ExternalizeL wrote them
NewL(const CVCCommandUi &)
Tooltip()
IMPORT_C const TDesC & | Tooltip | ( | ) | const |
UserText()
IMPORT_C const TDesC & | UserText | ( | ) | const |
WrittenText()
IMPORT_C const TDesC & | WrittenText | ( | ) | const |
operator==(const CVCCommandUi &)
Member Data Documentation
TBool
iConfirmationNeeded
TBool
| iConfirmationNeeded | [private] |
CVCFolderInfo * iFolderInfo
TBool
iUserCanModify
TBool
| iUserCanModify | [private] |
HBufC * iUserText
HBufC * | iUserText | [private] |
HBufC * iWrittenText
HBufC * | iWrittenText | [private] |
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.