TAknsPkgID Class Reference
Package identifier used to identify skin packages. Package ID may be either a UID or a timestamp and random number pair.
Note that the class does not define any constructors. This ensures that TAknsPkgID can be used in ROM constants.
AknSkinSrv.lib
Member Functions Documentation
CopyToDes(TDes &)
IMPORT_C void | CopyToDes | ( | TDes & | aDes | ) | const |
Copies the content of the package ID to the given descriptor. The size of the descriptor must be at least the size of TAknsPkgIDBuf. Otherwise the method may panic.
Parameters
TDes & aDes | Target descriptor. |
IsUid()
TBool
| IsUid | ( | ) | const [inline] |
Checks whether the skin package ID is a UID.
Set(const TUid)
void | Set | ( | const TUid | aUid | ) | [inline] |
Sets skin package ID by giving a UID.
Parameters
const TUid aUid | New UID to be set as the value of the package ID. |
Set(const TInt, const TInt)
void | Set | ( | const TInt | aTimestamp, |
| const TInt | aNumber |
| ) | [inline] |
Sets skin package ID by giving a timestamp and a random number.
Parameters
const TInt aTimestamp | Timestamp as an integer. Must be non-zero. |
const TInt aNumber | Random number. |
Set(const TAknsPkgID &)
Sets skin package ID by an existing package ID.
SetFromDesL(const TDesC &)
IMPORT_C void | SetFromDesL | ( | const TDesC & | aDes | ) | |
Sets the content of the package ID based on the given character representation. The content of the given descriptor must be valid (as generated by CopyToDes).
If the given descriptor doesn't contain a correctly formatted skin package ID the method leaves and the content of the object is undefined.
Parameters
const TDesC & aDes | Source descriptor. |
Uid()
Returns the skin package ID as a UID. If the package ID is not a UID, the result is undefined.
Member Data Documentation
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.