CVCFolderInfo Class Reference
class CVCFolderInfo : public CBase |
Container for the voice command folder information. Note that every command can have its own folder information
Constructor & Destructor Documentation
CVCFolderInfo(TUint32, TUint)
CVCFolderInfo | ( | TUint32 | aHelpTopicId, |
| TUint | aIconIndex |
| ) | [protected] |
CVCFolderInfo()
CVCFolderInfo | ( | ) | [protected, inline] |
Member Functions Documentation
ConstructL(const TDesC &, const TDesC &, const TDesC &)
void | ConstructL | ( | const TDesC & | aTitle, |
| const TDesC & | aListedName, |
| const TDesC & | aIconFile |
| ) | [private] |
NewLSecond-phase constructor
ConstructL(RReadStream &)
ExternalizeL(RWriteStream &)
Saves the folder information to stream. Descriptor components are saved as <length><descriptor> pairs, where <length> is TInt32 and <descriptor> is the default descriptor represetation
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
IconFile()
TDesC & | IconFile | ( | ) | const [protected] |
Full file name of the file name, where the folder icon is obtained from Is always no longer, than KMaxFileName If KNullDesC is returned, the default icon file is used
IconIndex()
TUint
| IconIndex | ( | ) | const [protected] |
Zero based index of the folder icon in the icon file IconFile
IconLC()
Creates an icon to represent this folder. Works only if CEikonEnv is available
ListedName()
IMPORT_C const TDesC & | ListedName | ( | ) | const |
Version of a title shown when the folder is is displayed in the list of VCommands in the VCommand app
NewL(const TDesC &, const TDesC &, TUint32, TUint, const TDesC &)
This object does not take an ownership of the passed descriptors, but makes own copies.
This object does not take an ownership of the passed descriptors, but makes own copies.
Parameters
const TDesC & aTitle | Folder title. It is shown at the top of the screen, when the folder is opened in the VCommand application |
const TDesC & aListedName | Version of a title shown when the folder is is displayed in the list of VCommands in the VCommand app |
TUint32 aHelpTopicId | Topic to open when help is requested for the given folder |
TUint aIconIndex | Index of the folder icon in the folder icons mbm file each index correspods to two images - the actual icon and its mask |
const TDesC & aIconFile =
KNullDesC
| Mbm file where the icons are obtained from. If KNullDesC, the default icon file is used |
NewL(RReadStream &)
Constructs the folder information from stream
- leave
- KErrNotSupported if the stream data format is unsupported
NewL(const CVCFolderInfo &)
Title()
IMPORT_C const TDesC & | Title | ( | ) | const |
Returns folder title. It is shown at the top of the screen, when the folder is opened in the VCommand application
operator==(const CVCFolderInfo &)
Member Data Documentation
HBufC * iIconFile
HBufC * | iIconFile | [private] |
TUint
iIconIndex
TUint
| iIconIndex | [private] |
HBufC * iListedName
HBufC * | iListedName | [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.