class TAknsPkgID |
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
Public Member Functions | |
---|---|
IMPORT_C void | CopyToDes ( TDes &) |
TBool | IsUid () |
void | Set (const TUid ) |
void | Set (const TInt , const TInt ) |
void | Set (const TAknsPkgID &) |
IMPORT_C void | SetFromDesL (const TDesC &) |
TUid | Uid () |
Public Attributes | |
---|---|
TInt | iNumber |
TInt | iTimestamp |
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.
TDes & aDes | Target descriptor. |
void | Set | ( | const TUid | aUid | ) | [inline] |
Sets skin package ID by giving a UID.
const TUid aUid | New UID to be set as the value of the package ID. |
void | Set | ( | const TInt | aTimestamp, |
const TInt | aNumber | |||
) | [inline] |
Sets skin package ID by giving a timestamp and a random number.
void | Set | ( | const TAknsPkgID & | aID | ) | [inline] |
Sets skin package ID by an existing package ID.
const TAknsPkgID & aID | Skin package ID. |
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.
const TDesC & aDes | Source descriptor. |
TUid | Uid | ( | ) | const [inline] |
Returns the skin package ID as a UID. If the package ID is not a UID, the result is undefined.
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.