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 void SetBooleanProperty ( TPropertyFlag , TBool )
IMPORT_C void SetName (const TVPbkContactStoreUriPtr &)
IMPORT_C void SetServicePropertyL ( TUid , TBool )
IMPORT_C void SetSupportedFields (const MVPbkFieldTypeList &)
const MVPbkFieldTypeList & SupportedFields ()
TBool SupportsContactGroups ()
TBool SupportsDefaults ()
TBool SupportsFieldLabels ()
TBool SupportsService ( TUid )
TBool SupportsSpeedDials ()
TBool SupportsVoiceTags ()
TVPbkContactStoreUriPtr Uri ()
Private Member Functions
CVPbkContactStoreProperties ()
void ConstructL ()
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
enum TPropertyFlag {
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()

void ConstructL ( ) [private]

ContactStorePropertiesExtension(TUid)

TAny * ContactStorePropertiesExtension ( TUid aExtensionUid )

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 void SetBooleanProperty ( TPropertyFlag aFlag,
TBool aValue
)

Sets the value of a boolean property.

Parameters

TPropertyFlag aFlag the flag to set
TBool aValue the boolean value for the flag

SetName(const TVPbkContactStoreUriPtr &)

IMPORT_C void SetName ( 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 & aName the name of the store

SetServicePropertyL(TUid, TBool)

IMPORT_C void SetServicePropertyL ( TUid aServiceUid,
TBool aValue
)

Sets the aServiceUid service UID to aValue.

Parameters

TUid aServiceUid a service UID that is mapped to a service.
TBool aValue The property to set as the value for the service.

SetSupportedFields(const MVPbkFieldTypeList &)

IMPORT_C void SetSupportedFields ( const MVPbkFieldTypeList & aSupportedFields )

Sets supported fields of contact store.

Parameters

const MVPbkFieldTypeList & aSupportedFields a 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 ( TUid aServiceUid ) 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]