MPbkContactUiControlExtension Class Reference

class MPbkContactUiControlExtension : public MPbkUiExtensionBase

Abstract interface for phone book UI control extensions.

Inherits from

Public Member Functions
const TArray< TPbkIconId >GetDynamicIconsL(TContactItemId)
const TArray< TPbkIconId >GetDynamicIconsL(const CPbkContactItem &)
voidIconArrayResourceId(TInt &, TInt &)
voidSetContactUiControlUpdate(MPbkContactUiControlUpdate *)
Protected Member Functions
~MPbkContactUiControlExtension()

Constructor & Destructor Documentation

~MPbkContactUiControlExtension()

~MPbkContactUiControlExtension()[protected, inline, virtual]

Destructor.

Member Functions Documentation

GetDynamicIconsL(TContactItemId)

const TArray< TPbkIconId >GetDynamicIconsL(TContactItemIdaContactId)[pure virtual]

Gets a dynamic icon id's for a contact. Icons are in right order starting from 0 (notify icon/presence status, marked icon).

Parameters

TContactItemId aContactIdid of the contact to get dynamic icon for.

GetDynamicIconsL(const CPbkContactItem &)

const TArray< TPbkIconId >GetDynamicIconsL(const CPbkContactItem &aContact)[pure virtual]

Gets a dynamic icon id's for a contact.

Parameters

const CPbkContactItem & aContactcontact to get dynamic icon for.

IconArrayResourceId(TInt &, TInt &)

voidIconArrayResourceId(TInt &aArrayIconInfoId,
TInt &aArrayIconId
)[pure virtual]

Returns icons info array and icons array used in extension. If return values are 0, resource id's are not defined.

Parameters

TInt & aArrayIconInfoIdresource id for icon info array
TInt & aArrayIconIdresource id for icon array used in extension

SetContactUiControlUpdate(MPbkContactUiControlUpdate *)

voidSetContactUiControlUpdate(MPbkContactUiControlUpdate *aContactUpdator)[pure virtual]

Sets ui contact updator for this extension.

MPbkContactUiUpdate

Parameters

MPbkContactUiControlUpdate * aContactUpdatorfor updating the contact control; if NULL, association is removed.