Location:
CNTDB.H
Link against: cntmodel.lib
class CIdleFinder : public CIdle;
Provides information about the progress of an asynchronous contact database search, and can be used to get the results of the search.
An instance of this class is returned by calls to CContactDatabase::FindAsyncL()
and CContactDatabase::FindInTextDefAsyncL()
.
CBase
- Base class for all classes to be instantiated on the heap
CActive
- The core class of the active object abstraction
CIdle
- An active object that performs low-priority processing when no higher-priority active objects are ready to run
CIdleFinder
- Provides information about the progress of an asynchronous contact database search, and can be used to get the results
of the search
Defined in CIdleFinder
:
DoCancel()
, Error()
, IsComplete()
, RunError()
, TakeContactIds()
Inherited from CActive
:
Cancel()
,
Deque()
,
EPriorityHigh
,
EPriorityIdle
,
EPriorityLow
,
EPriorityStandard
,
EPriorityUserInput
,
Extension_()
,
IsActive()
,
IsAdded()
,
Priority()
,
SetActive()
,
SetPriority()
,
TPriority
,
iStatus
Inherited from CBase
:
Delete()
,
operator new()
Inherited from CIdle
:
New()
,
NewL()
,
RunL()
,
Start()
,
iCallBack
IMPORT_C TBool IsComplete() const;
Checks whether the contact database search is complete.
|
IMPORT_C CContactIdArray *TakeContactIds();
Gets an array of contact item IDs where the match is found.
|
IMPORT_C TInt Error() const;
Signals an error while searching the database.
|
private: virtual void DoCancel();
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel()
.
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel()
must not wait for event completion; this is handled by Cancel()
.