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 ( ) [protected, inline, virtual]


Member Functions Documentation


TAny * ContactFindFromStoresObserverExtension ( TUid ) [inline, virtual]

Returns an extension point for this interface or NULL.



FindFromStoreFailed(MVPbkContactStore &, TInt)

void FindFromStoreFailed ( MVPbkContactStore & aStore,
TInt aError
) [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.


MVPbkContactStore & aStore The failed store.
TInt aError A system wide error code from the store implementation.

FindFromStoreSucceededL(MVPbkContactStore &, MVPbkContactLinkArray *)

void FindFromStoreSucceededL ( 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.


MVPbkContactStore & aStore The store whose find results are available
MVPbkContactLinkArray * aResultsFromStore The find results from the store. Client takes the ownership immediately!


void FindFromStoresOperationComplete ( ) [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.