CPbk2StoreViewDefinition Class Reference

class CPbk2StoreViewDefinition : public CBase

Phonebook 2 store view definition.

Inherits from

Constructor & Destructor Documentation

CPbk2StoreViewDefinition()

CPbk2StoreViewDefinition ( ) [private]

~CPbk2StoreViewDefinition()

~CPbk2StoreViewDefinition ( )

Destructor.

Member Functions Documentation

ConstructL(TResourceReader &)

void ConstructL ( TResourceReader & aReader ) [private]

Parameters

TResourceReader & aReader

ConstructL(const CPbk2StoreViewDefinition &)

void ConstructL ( const CPbk2StoreViewDefinition & aViewDef ) [private]

Parameters

const CPbk2StoreViewDefinition & aViewDef

NewL()

IMPORT_C CPbk2StoreViewDefinition * NewL ( ) [static]

Creates a new instance of this class.

NewLC(TResourceReader &)

IMPORT_C CPbk2StoreViewDefinition * NewLC ( TResourceReader & aReader ) [static]

Creates a new instance of this class.

Parameters

TResourceReader & aReader Resource reader pointed to a PHONEBOOK2_STORE_VIEW resource.

NewLC(const CPbk2StoreViewDefinition &)

IMPORT_C CPbk2StoreViewDefinition * NewLC ( const CPbk2StoreViewDefinition & aViewDef ) [static]

Creates a new instance of this class.

Parameters

const CPbk2StoreViewDefinition & aViewDef Store view definition to copy.

SetViewDefinition(CVPbkContactViewDefinition *)

IMPORT_C void SetViewDefinition ( CVPbkContactViewDefinition * aViewDefinition )

Sets the Virtual Phonebook view definition.

Parameters

CVPbkContactViewDefinition * aViewDefinition Virtual Phonebook view definition. Ownership is taken.

SetViewItemIcon(const TPbk2IconId &)

IMPORT_C void SetViewItemIcon ( const TPbk2IconId & aIconId )

Sets the id of the icon that is displayed at the front of the contacts. The id is one of TPbk2IconIds or an id from an UI extension.

Parameters

const TPbk2IconId & aIconId Icon id.

SetViewLocation(TPbk2ContactViewLocation)

IMPORT_C void SetViewLocation ( TPbk2ContactViewLocation aLocation )

Sets the view location.

Parameters

TPbk2ContactViewLocation aLocation View location.

SetViewType(TPbk2ContactViewType)

IMPORT_C void SetViewType ( TPbk2ContactViewType aType )

Sets the type of the view.

Parameters

TPbk2ContactViewType aType Type of the view.

ViewDefinition()

IMPORT_C const CVPbkContactViewDefinition & ViewDefinition ( ) const

Returns the Virtual Phonebook view definition.

ViewItemIconId()

IMPORT_C const TPbk2IconId & ViewItemIconId ( ) const

Returns view icon id that is displayed at the front of the contacts of the view.

ViewLocation()

IMPORT_C TPbk2ContactViewLocation ViewLocation ( ) const

Returns the view location.

ViewType()

IMPORT_C TPbk2ContactViewType ViewType ( ) const

Returns the type of the view.

Member Data Documentation

CVPbkContactViewDefinition * iViewDefinition

CVPbkContactViewDefinition * iViewDefinition [private]

TPbk2IconId iViewItemIconId

TPbk2IconId iViewItemIconId [private]

TPbk2ContactViewLocation iViewLocation

TPbk2ContactViewLocation iViewLocation [private]

TPbk2ContactViewType iViewType

TPbk2ContactViewType iViewType [private]