2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: An observer interface for observing events related
15 * to a list of contact stores
20 #ifndef MVPBKCONTACTSTORELISTOBSERVER_H
21 #define MVPBKCONTACTSTORELISTOBSERVER_H
25 #include <mvpbkcontactstoreobserver.h>
30 * An observer interface for observing events from a list of contact stores.
32 * The interface is implemented by the client who is opening a list of stores.
34 * @see MVPbkContactStoreList
36 class MVPbkContactStoreListObserver : public MVPbkContactStoreObserver
38 public: // New functions
40 * Called when the opening process is complete.
42 * Before this all stores have sent StoreReady or StoreUnavailable
43 * event. The client can not trust that all stores are available
44 * for use when this is called.
46 virtual void OpenComplete() =0;
49 * Returns an extension point for this interface or NULL.
51 * @param aExtensionUid no extensions defined currently.
52 * @return an extension point for this interface or NULL.
54 virtual TAny* ContactStoreListObserverExtension(TUid /*aExtensionUid*/)
57 protected: // Destructor
58 virtual ~MVPbkContactStoreListObserver() { }
63 #endif // MVPBKCONTACTSTORELISTOBSERVER_H