EPOC   SDK Home Glossary Indexes Previous Next Up

MIdleFindObserver class


Contents


MIdleFindObserver class — Protocol for asynchronous find observer

Section Contents


Overview

Compatibility

Applications that use this class will not work correctly on a version of EPOC earlier than ER5.

Defined in

cntdb.h

Description

An asynchronous find observer object may be passed to the asynchronous find functions defined in class CContactsDatabase, (FindAsyncL() and FindInTextDefAsyncL()). The observer might be used for example to notify the user of the progress of the operation.


IdleFindCallback() — Asynchronous find observer callback

void IdleFindCallback()=0;

Description

If an observer is supplied to CContactsDatabase::FindAsyncL() or FindInTextDefAsyncL(), this callback function will be called by CIdle::RunL() when nothing of a higher priority can be scheduled. It will be called for every 16 items searched to give the application a chance to update its search status.

The implementation of this function might typically test for and handle errors and retrieve information about the progress of the search. This information may be retrieved using functions provided by the CIdleFinder class.

EPOC       SDK Home Glossary Indexes Previous Next Up