This section provide the details about the base class and other specialised classes used to access the lists. The lists are used by the multimode telephony APIs to store information.
Many different forms of information are stored in the lists on the phone. The action of retrieving and storing these lists is common, although the type of the entries differ. Multimode telephony API therefore provides a common list base class, CMobilePhoneListBase, and an extended base class CMobilePhoneEditableListBase.
These are concrete classes that contain the common list operations such as add or get entry, with TAny * entry types. A thin-template is applied over the base classes in order to ensure type-safety. The specialised list classes are derived from the thin-template classes. The specialised classes provide a NewL() for list creation.
CMobilePhoneListBase has functions for:
entry counting: Enumerate() and SetMaxNumberEntries() and MaxNumberEntries()
entry access: AddEntryL() and GetEntryL()
entry storage: StoreL(), StoreLC(), and RestoreL()
CMobilePhoneEditableListBase and its thin-template adds entry manipulation operations, ChangeEntryL(), DeleteEntryL() and InsertEntryL().
The specialised list classes are:
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.