#include <app/CPbkIdleFinder.h>
| class CPbkIdleFinder : public CBase |
| Public Member Functions | |
|---|---|
| CPbkIdleFinder(CIdleFinder *, CContactItemFieldDef *) | |
| ~CPbkIdleFinder() | |
| IMPORT_C TInt | Error() |
| IMPORT_C CContactItemFieldDef * | FieldDef() |
| IMPORT_C CIdleFinder * | IdleFinder() |
| IMPORT_C TBool | IsComplete() |
| IMPORT_C CContactIdArray * | TakeContactIds() |
Phonebook idle finder class. Wrapper for Contact Model's CIdleFinder.
See also: CIdleFinder.
| CPbkIdleFinder | ( | CIdleFinder * | aFinder, |
| CContactItemFieldDef * | aFieldDef | ||
| ) | |||
Constructor. Not exported because objects of this class are created only by CPbkContactEngine.
| Parameter | Description |
|---|---|
| aFinder | Contact Model idle finder object. This takes ownership of aFinder. |
| aFieldDef | Field defintion passed to aFinder. This takes ownership of aFieldDef. |
| IMPORT_C TInt | Error | ( | ) | const |
Check for errors when search is complete.
See also: CIdleFinder::Error().
Returns: Error code. KErrNone if no errors occurred during the search.
| IMPORT_C CContactItemFieldDef * | FieldDef | ( | ) | const |
Returns the CContactItemFieldDef passed to constructor. Ownership not transferred.
Returns: Symbian Contacts model contact item field definition. NULL if not set.
| IMPORT_C CIdleFinder * | IdleFinder | ( | ) | const |
Returns the CIdleFinder passed to constructor. Ownership not transferred.
Returns: Symbian Contacts model Idle finder object. NULL if not set.
| IMPORT_C TBool | IsComplete | ( | ) | const |
Tests whether a search is complete.
See also: CIdleFinder::IsCompelete().
Returns: ETrue if complete, EFalse if not.
| IMPORT_C CContactIdArray * | TakeContactIds | ( | ) |
Gives access and ownership of the contact ids found in the search.
See also: CIdleFinder::TakeContactIds().
Returns: Contacts id's found in the search.