MVPbkContactFindFromStoresObserver Class Reference

class MVPbkContactFindFromStoresObserver

An observer interface for finding contacts from the stores. This interface is used to signal find clients of the operations progress.

Constructor & Destructor Documentation

~MVPbkContactFindFromStoresObserver()

~MVPbkContactFindFromStoresObserver()[protected, inline, virtual]

Destructor.

Member Functions Documentation

ContactFindFromStoresObserverExtension(TUid)

TAny *ContactFindFromStoresObserverExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

FindFromStoreFailed(MVPbkContactStore &, TInt)

voidFindFromStoreFailed(MVPbkContactStore &aStore,
TIntaError
)[pure virtual]

Called when a find operation of one store fails. Doesn't stop the find from other stores in the case there are multiple stores.

Parameters

MVPbkContactStore & aStoreThe failed store.
TInt aErrorA system wide error code from the store implementation.

FindFromStoreSucceededL(MVPbkContactStore &, MVPbkContactLinkArray *)

voidFindFromStoreSucceededL(MVPbkContactStore &aStore,
MVPbkContactLinkArray *aResultsFromStore
)[pure virtual]

This is called when one store completes its find. If this leaves then FindFromStoreFailed is called. Client takes the ownership of all results immediately!

FindFromStoresOperationComplete is called after all stores have called either this or FindFromStoreFailed.

Parameters

MVPbkContactStore & aStoreThe store whose find results are available
MVPbkContactLinkArray * aResultsFromStoreThe find results from the store. Client takes the ownership immediately!

FindFromStoresOperationComplete()

voidFindFromStoresOperationComplete()[pure virtual]

This is called after all stores have called either FindFromStoreSucceed or FindFromStoreFailed. It's called also when there are no stores that offer find operation.