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 &)
void IconArrayResourceId ( TInt &, TInt &)
void SetContactUiControlUpdate (MPbkContactUiControlUpdate *)
Protected Member Functions
~MPbkContactUiControlExtension ()

Constructor & Destructor Documentation

~MPbkContactUiControlExtension()

~MPbkContactUiControlExtension ( ) [protected, inline, virtual]

Destructor.

Member Functions Documentation

GetDynamicIconsL(TContactItemId)

const TArray < TPbkIconId > GetDynamicIconsL ( TContactItemId aContactId ) [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 aContactId id 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 & aContact contact to get dynamic icon for.

IconArrayResourceId(TInt &, TInt &)

void IconArrayResourceId ( 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 & aArrayIconInfoId resource id for icon info array
TInt & aArrayIconId resource id for icon array used in extension

SetContactUiControlUpdate(MPbkContactUiControlUpdate *)

void SetContactUiControlUpdate ( MPbkContactUiControlUpdate * aContactUpdator ) [pure virtual]

Sets ui contact updator for this extension.

MPbkContactUiUpdate

Parameters

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