CPropertyReg Class Reference

class CPropertyReg : public CBase

The client can register custom properties for bookmark items and the database. There are three sets of registered properties: database properties, folder properties and bookmark properties. This class is responsible for handling the registration and checking the registration of these properties.

Inherits from

Constructor & Destructor Documentation

CPropertyReg()

CPropertyReg()[private]

~CPropertyReg()

~CPropertyReg()

Member Functions Documentation

AssignIdL(TPropertyGroup)

TUint32 AssignIdL(TPropertyGroupaGroup)[private]

Parameters

TPropertyGroup aGroup

CommitL()

voidCommitL()

ConstructL()

voidConstructL()[private]

DeregisterPropertyL(TPropertyGroup, TUid)

TInt DeregisterPropertyL(TPropertyGroupaGroup,
TUidaCustomId
)

Parameters

TPropertyGroup aGroup
TUid aCustomId

FindProperty(TPropertyList &, TUid)

TInt FindProperty(TPropertyList &aList,
TUidaPropertyId
)[private]

Parameters

TPropertyList & aList
TUid aPropertyId

GetPropertyType(TPropertyGroup, TInt, Bookmark::TPropertyType &)

TInt GetPropertyType(TPropertyGroupaGroup,
TIntaPropertyIndex,
Bookmark::TPropertyType &aType
)

Parameters

TPropertyGroup aGroup
TInt aPropertyIndex
Bookmark::TPropertyType & aType

List(TPropertyGroup)

TPropertyList &List(TPropertyGroupaGroup)[private]

Parameters

TPropertyGroup aGroup

LoadPropertiesL()

voidLoadPropertiesL()[private]

LoadPropertyListL(TPropertyList &, TUint32)

voidLoadPropertyListL(TPropertyList &aList,
TUint32aPropertyStart
)[private]

Parameters

TPropertyList & aList
TUint32 aPropertyStart

NewL()

CPropertyReg *NewL()[static]

PropertyIndex(TPropertyGroup, TUid, Bookmark::TPropertyType)

TInt PropertyIndex(TPropertyGroupaGroup,
TUidaPropertyId,
Bookmark::TPropertyTypeaType
)

Parameters

TPropertyGroup aGroup
TUid aPropertyId
Bookmark::TPropertyType aType

RefreshL()

voidRefreshL()

RegisterPropertyL(TPropertyGroup, TUid, Bookmark::TPropertyType)

voidRegisterPropertyL(TPropertyGroupaGroup,
TUidaCustomId,
Bookmark::TPropertyTypeaDataType
)

Parameters

TPropertyGroup aGroup
TUid aCustomId
Bookmark::TPropertyType aDataType

Reset()

voidReset()[private]

UpdateValueListItemL(TCustomPropertyList &, TInt, Bookmark::TPropertyType, const TAny *)

voidUpdateValueListItemL(TCustomPropertyList &aValueList,
TIntaIndex,
Bookmark::TPropertyTypeaType,
const TAny *aValue
)[private]

Parameters

TCustomPropertyList & aValueList
TInt aIndex
Bookmark::TPropertyType aType
const TAny * aValue

Member Enumerations Documentation

Enum TPropertyGroup

Enumerators

EGroupDatabase
EGroupFolder
EGroupBookmark

Member Data Documentation

TPropertyList iBookmarkProperties

TPropertyList iBookmarkProperties[private]

TPropertyList iDatabaseProperties

TPropertyList iDatabaseProperties[private]

CRepository * iDatabaseRepository

CRepository *iDatabaseRepository[private]

TBkmrkAccessorList iDeletedList

TBkmrkAccessorList iDeletedList[private]

TPropertyList iFolderProperties

TPropertyList iFolderProperties[private]