class MVPbkContactStoreList |
An interface for a list of contact stores.
The interface provides an access to multiple stores. It's possible to open and close all stores in single call using this interface. When client calls OpenAllL it must also calls CloseAll after usage.
Public Member Functions | |
---|---|
~MVPbkContactStoreList () | |
MVPbkContactStore & | At ( TInt ) |
void | CloseAll ( MVPbkContactStoreListObserver &) |
TAny * | ContactStoreListExtension ( TUid ) |
TInt | Count () |
MVPbkContactStore * | Find (const TVPbkContactStoreUriPtr &) |
void | OpenAllL ( MVPbkContactStoreListObserver &) |
MVPbkContactStore & | At | ( | TInt | aIndex | ) | const [pure virtual] |
Returns the store in given index in the list.
TInt aIndex | the index of the store in the list aIndex >= 0 && aIndex < Count() VPbkError::Panic(VPbkError::EInvalidStoreIndex) is raised if the precondition does not hold. |
void | CloseAll | ( | MVPbkContactStoreListObserver & | aObserver | ) | [pure virtual] |
Closes all stores in the list.
This is safe to call in all circumstances. Implementations can not trust that OpenAllL has been called before.
MVPbkContactStoreListObserver & aObserver | An observer for the close process. |
TAny * | ContactStoreListExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
TUid |
MVPbkContactStore * | Find | ( | const TVPbkContactStoreUriPtr & | aUri | ) | const [pure virtual] |
Finds the contact store corresponding to the aUri.
const TVPbkContactStoreUriPtr & aUri | the store URI to search for. |
void | OpenAllL | ( | MVPbkContactStoreListObserver & | aObserver | ) | [pure virtual] |
Opens all stores in the list asynchronously.
A client can not use stores before it has successfully opened them. CloseAll must be always called by the same observer that has opened stores.
NOTE: There can be only one observer for one store list at a time.
KErrInUse |
If one observer is currently opening this list. |
MVPbkContactStoreListObserver & aObserver | An observer for the stores. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.