CVPbkDefaultAttribute Class Reference

class CVPbkDefaultAttribute : public CBase

Virtual Phonebook default attribute for contacts. Responsible for encapsulating the default attribute management for contacts.

The supported default types are declared in TVPbkDefaultType.

Inherits from

Constructor & Destructor Documentation

CVPbkDefaultAttribute()

CVPbkDefaultAttribute ( ) [private]

~CVPbkDefaultAttribute()

~CVPbkDefaultAttribute ( )

Destructor.

Member Functions Documentation

AttributeType()

TUid AttributeType ( ) const

CloneLC()

MVPbkContactAttribute * CloneLC ( ) const

DefaultType()

IMPORT_C TVPbkDefaultType DefaultType ( ) const

Returns default's type.

NewL(TVPbkDefaultType)

IMPORT_C CVPbkDefaultAttribute * NewL ( TVPbkDefaultType aType ) [static]

Two-phased constructor.

Parameters

TVPbkDefaultType aType New default's type.

NewL()

IMPORT_C CVPbkDefaultAttribute * NewL ( ) [static]

Two-phased constructor. Default type will be initialised to EVPbkDefaultTypeUndefined.

SetDefaultType(TVPbkDefaultType)

IMPORT_C void SetDefaultType ( TVPbkDefaultType aType )

Set default type.

Parameters

TVPbkDefaultType aType New default's type

Uid()

TUid Uid ( ) [static, inline]

Returns the unique identifier associate with the default attribute.

Member Data Documentation

const TVPbkDefaultType KDefaultTypeNotDefined

const TVPbkDefaultType KDefaultTypeNotDefined [static]

KDefaultTypeNotDefined.

TVPbkDefaultType iDefaultType

TVPbkDefaultType iDefaultType [private]