TPbk2IconId Class Reference
#include
<app/TPbk2IconId.h>
Detailed Description
Phonebook 2 icon identification. This class is responsible for implementing a unique identifier for icons in the Phonebook context.
Constructor & Destructor Documentation
TPbk2IconId ( )
Default C++ constructor. Constructs a null icon id.
TPbk2IconId ( const TUid &, TInt )
IMPORT_C | TPbk2IconId | ( | const TUid & | aOwnerUid, |
| TInt | aIconId |
| ) | |
Constructor that takes the owner uid and icon id.
Parameter | Description | aOwnerUid | The UID that specifies whose icon this is. It's used the identify icons from different components that are used in the same data structure. The UID could be e.g a Phonebook 2 UID for application defined icons and ECom implementation UID for UI extension icons. |
aIconId | The id of the icon under the owner. |
TPbk2IconId ( TResourceReader & )
Constructor that takes a resource reader that points to a PHONEBOOK2_ICON_ID structure.
Parameter | Description | aReader | Resource reader to a PHONEBOOK2_ICON_ID resource structure. |
Member Function Documentation
IsOwner ( const TUid & )
TBool
| IsOwner | ( | const TUid & | aUid | ) | const [inline] |
Checks if passed uid is owner of this structure
Parameter | Description | aUid | Owner UID to check. |
Returns: ETrue if UID is owner UID, EFalse otherwise.
operator== ( const TPbk2IconId & )
Comparison that returns ETrue if the icon ids are the same.
Parameter | Description | aRhs | An icon id to compare. |
Returns: ETrue if the icon ids are the same.