Link against: PbkEng.lib
ReadDeviceData ReadUserData WriteDeviceData WriteUserData
#include <CPbkContactIter.h>
Only iterates through recognised Phonebook contact cards, not groups or templates. NextL jumps over any other contacts.
Public Member Functions |
|
| ~CPbkContactIter () | |
| Destructor. |
|
| IMPORT_C TContactItemId | FirstL () |
| Intializes the iterator to the first Phonebook contact. |
|
| IMPORT_C TContactItemId | NextL () |
| Advances the iterator to the next Phonebook contact. |
|
| IMPORT_C void | Reset () |
| Resets the iterator to null state. |
|
| IMPORT_C CPbkContactItem * | CurrentL () const |
| Returns the current Phonebook contact, NULL if none. |
|
| IMPORT_C CPbkContactItem * | GetCurrentL () const |
| Returns the current Phonebook contact, NULL if none. |
|
Static Public Member Functions |
|
| static IMPORT_C CPbkContactIter * | NewL (CPbkContactEngine &aEngine, TBool aUseMinimalRead=EFalse) |
| Creates a new instace of this class. |
|
| static IMPORT_C CPbkContactIter * | NewLC (CPbkContactEngine &aEngine, TBool aUseMinimalRead=EFalse) |
| Same as NewL but leaves the created object on the cleanup stack. |
|
Data Fields |
|
| __DECLARE_TEST | |
|
|
Destructor. |
|
|
Returns the current Phonebook contact, NULL if none.
|
|
|
Intializes the iterator to the first Phonebook contact.
|
|
|
Returns the current Phonebook contact, NULL if none. Caller is responsible for deleting the contact, thus ownership of the contact item is passed to the client.
|
|
||||||||||||
|
Creates a new instace of this class.
|
|
||||||||||||
|
Same as NewL but leaves the created object on the cleanup stack. Creates a new instace of this class.
|
|
|
Advances the iterator to the next Phonebook contact.
|
|
|
Resets the iterator to null state. |
|