CCntTemplateCache Class Reference
class CCntTemplateCache : public CBase
|
Class for all template related functionality.
Constructor & Destructor Documentation
CCntTemplateCache(RCntModel &)
CCntTemplateCache
|
(
|
RCntModel
&
|
aCntSvr
|
)
|
[private]
|
Parameters
RCntModel
& aCntSvr
|
Client Contacts Model session object handle.
|
Member Functions Documentation
DefaultViewDefL()
Get the default view definition for the template cache. If the default view definition does not yet exist then create it (lazy initialisation).
-
leave
-
KErrNoMemory Out of memory.
DeleteEntry(TInt)
void
|
DeleteEntry
|
(
|
TInt
|
aIndex
|
)
|
[private]
|
Delete an entry from the template cache.
Parameters
TInt
aIndex
|
Index of entry in template cache to be deleted.
|
MergeWithTemplateL(CContactItem &, const CContactItemViewDef *)
Merge the given Contact Item with the template used to create the Contact Item. If no view definition is supplied then use the default view definition.
RemoveTemplate(TContactItemId)
Remove a template from the template cache.
Parameters
TContactItemId
aId
|
ID of the template which is to be removed from the template cache.
|
ResetSystemTemplate()
void
|
ResetSystemTemplate
|
(
|
)
|
[private]
|
Dispose of the system template. The next time the system template is accessed via the
SystemTemplateL()
method it will be fetched from the Server.
SystemTemplateL()
Get the system template. If the system template does not yet exist then create it (lazy initialisation).
TemplateL(TContactItemId)
Get a template from the template cache with the given ID.
Member Data Documentation
RPointerArray< CContactItem > iCache
CContactItem * iSystemTemplate
TContactItemId
iTemplateId
CContactItemViewDef * iViewDef
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.