CPbkIdleFinder Class Reference

class CPbkIdleFinder : public CBase

Phonebook idle finder class. Wrapper for Contact Model's CIdleFinder . CIdleFinder .

Inherits from

Constructor & Destructor Documentation

CPbkIdleFinder(CIdleFinder *, CContactItemFieldDef *)

CPbkIdleFinder ( CIdleFinder * aFinder,
CContactItemFieldDef * aFieldDef
)

Constructor. Not exported because objects of this class are created only by CPbkContactEngine .

Parameters

CIdleFinder * aFinder Contact Model idle finder object. This takes ownership of aFinder.
CContactItemFieldDef * aFieldDef Field defintion passed to aFinder. This takes ownership of aFieldDef.

~CPbkIdleFinder()

~CPbkIdleFinder ( )

Destructor.

Member Functions Documentation

Error()

IMPORT_C TInt Error ( ) const

Check for errors when search is complete. CIdleFinder::Error() .

FieldDef()

IMPORT_C CContactItemFieldDef * FieldDef ( ) const

Returns the CContactItemFieldDef passed to constructor. Ownership not transferred.

IdleFinder()

IMPORT_C CIdleFinder * IdleFinder ( ) const

Returns the CIdleFinder passed to constructor. Ownership not transferred.

IsComplete()

IMPORT_C TBool IsComplete ( ) const

Tests whether a search is complete. CIdleFinder::IsCompelete().

TakeContactIds()

IMPORT_C CContactIdArray * TakeContactIds ( )

Gives access and ownership of the contact ids found in the search. CIdleFinder::TakeContactIds() .

Member Data Documentation

CContactItemFieldDef * iFieldDef

CContactItemFieldDef * iFieldDef [private]

CIdleFinder * iFinder

CIdleFinder * iFinder [private]