CVPbkContactStoreProperties Class Reference

class CVPbkContactStoreProperties : public CBase

A store property implementation class for the stores

VPbkEng.lib

Inherits from

  • CVPbkContactStoreProperties
Public Member Functions
~CVPbkContactStoreProperties()
TAny *ContactStorePropertiesExtension(TUid)
TBool Local()
TVPbkContactStoreUriPtr Name()
IMPORT_C CVPbkContactStoreProperties *NewL()
TBool Persistent()
TBool ReadOnly()
TBool Removable()
IMPORT_C voidSetBooleanProperty(TPropertyFlag, TBool)
IMPORT_C voidSetName(const TVPbkContactStoreUriPtr &)
IMPORT_C voidSetServicePropertyL(TUid, TBool)
IMPORT_C voidSetSupportedFields(const MVPbkFieldTypeList &)
const MVPbkFieldTypeList &SupportedFields()
TBool SupportsContactGroups()
TBool SupportsDefaults()
TBool SupportsFieldLabels()
TBool SupportsService(TUid)
TBool SupportsSpeedDials()
TBool SupportsVoiceTags()
TVPbkContactStoreUriPtr Uri()
Private Member Functions
CVPbkContactStoreProperties()
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTPropertyFlag {
EPropertyReadOnly = 0x00000001, EPropertyPersistent = 0x00000002, EPropertyLocal = 0x00000004, EPropertyRemovable = 0x00000008, EPropertyFieldLabelSupported = 0x00000010, EPropertyDefaultsSupported = 0x00000020, EPropertyVoiceTagsSupported = 0x00000040, EPropertySpeedDialsSupported = 0x00000080, EPropertyContactGroupsSupported = 0x00000100, EPropertyOwnContactSupported = 0x00000200
}
Private Attributes
TVPbkContactStoreProperties2 *iExtension2
TUint32 iFlags
TInt iMaxNumberMatchDigits
RArray< TServiceElement >iServiceTable
const MVPbkFieldTypeList *iSupportedFields
TVPbkContactStoreUriPtr iUriName

Constructor & Destructor Documentation

CVPbkContactStoreProperties()

CVPbkContactStoreProperties()[private]

~CVPbkContactStoreProperties()

~CVPbkContactStoreProperties()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ContactStorePropertiesExtension(TUid)

TAny *ContactStorePropertiesExtension(TUidaExtensionUid)

Parameters

TUid aExtensionUid

Local()

TBool Local()const

Name()

TVPbkContactStoreUriPtr Name()const

NewL()

IMPORT_C CVPbkContactStoreProperties *NewL()[static]

Two-phased constructor.

Persistent()

TBool Persistent()const

ReadOnly()

TBool ReadOnly()const

Removable()

TBool Removable()const

SetBooleanProperty(TPropertyFlag, TBool)

IMPORT_C voidSetBooleanProperty(TPropertyFlagaFlag,
TBoolaValue
)

Sets the value of a boolean property.

Parameters

TPropertyFlag aFlagthe flag to set
TBool aValuethe boolean value for the flag

SetName(const TVPbkContactStoreUriPtr &)

IMPORT_C voidSetName(const TVPbkContactStoreUriPtr &aName)

Sets the name of the store. Only a reference to the name is stored. The reference must be valid for the lifetime of this object.

Parameters

const TVPbkContactStoreUriPtr & aNamethe name of the store

SetServicePropertyL(TUid, TBool)

IMPORT_C voidSetServicePropertyL(TUidaServiceUid,
TBoolaValue
)

Sets the aServiceUid service UID to aValue.

Parameters

TUid aServiceUida service UID that is mapped to a service.
TBool aValueThe property to set as the value for the service.

SetSupportedFields(const MVPbkFieldTypeList &)

IMPORT_C voidSetSupportedFields(const MVPbkFieldTypeList &aSupportedFields)

Sets supported fields of contact store.

Parameters

const MVPbkFieldTypeList & aSupportedFieldsa list of field types that are supported by the store.

SupportedFields()

const MVPbkFieldTypeList &SupportedFields()const

SupportsContactGroups()

TBool SupportsContactGroups()const

SupportsDefaults()

TBool SupportsDefaults()const

SupportsFieldLabels()

TBool SupportsFieldLabels()const

SupportsService(TUid)

TBool SupportsService(TUidaServiceUid)const

Parameters

TUid aServiceUid

SupportsSpeedDials()

TBool SupportsSpeedDials()const

SupportsVoiceTags()

TBool SupportsVoiceTags()const

Uri()

TVPbkContactStoreUriPtr Uri()const

Member Enumerations Documentation

Enum TPropertyFlag

Enumerators

EPropertyReadOnly = 0x00000001
EPropertyPersistent = 0x00000002
EPropertyLocal = 0x00000004
EPropertyRemovable = 0x00000008
EPropertyFieldLabelSupported = 0x00000010
EPropertyDefaultsSupported = 0x00000020
EPropertyVoiceTagsSupported = 0x00000040
EPropertySpeedDialsSupported = 0x00000080
EPropertyContactGroupsSupported = 0x00000100
EPropertyOwnContactSupported = 0x00000200

Member Data Documentation

TVPbkContactStoreProperties2 * iExtension2

TVPbkContactStoreProperties2 *iExtension2[private]

TUint32 iFlags

TUint32 iFlags[private]

TInt iMaxNumberMatchDigits

TInt iMaxNumberMatchDigits[private]

RArray< TServiceElement > iServiceTable

RArray< TServiceElement >iServiceTable[private]

const MVPbkFieldTypeList * iSupportedFields

const MVPbkFieldTypeList *iSupportedFields[private]

TVPbkContactStoreUriPtr iUriName

TVPbkContactStoreUriPtr iUriName[private]