1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/app/MVPbkContactStoreListObserver.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,65 @@
1.4 +/*
1.5 +* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: An observer interface for observing events related
1.18 +* to a list of contact stores
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +#ifndef MVPBKCONTACTSTORELISTOBSERVER_H
1.24 +#define MVPBKCONTACTSTORELISTOBSERVER_H
1.25 +
1.26 +
1.27 +// INCLUDES
1.28 +#include <mvpbkcontactstoreobserver.h>
1.29 +
1.30 +// CLASS DECLARATIONS
1.31 +
1.32 +/**
1.33 + * An observer interface for observing events from a list of contact stores.
1.34 + *
1.35 + * The interface is implemented by the client who is opening a list of stores.
1.36 + *
1.37 + * @see MVPbkContactStoreList
1.38 + */
1.39 +class MVPbkContactStoreListObserver : public MVPbkContactStoreObserver
1.40 + {
1.41 + public: // New functions
1.42 + /**
1.43 + * Called when the opening process is complete.
1.44 + *
1.45 + * Before this all stores have sent StoreReady or StoreUnavailable
1.46 + * event. The client can not trust that all stores are available
1.47 + * for use when this is called.
1.48 + */
1.49 + virtual void OpenComplete() =0;
1.50 +
1.51 + /**
1.52 + * Returns an extension point for this interface or NULL.
1.53 + *
1.54 + * @param aExtensionUid no extensions defined currently.
1.55 + * @return an extension point for this interface or NULL.
1.56 + */
1.57 + virtual TAny* ContactStoreListObserverExtension(TUid /*aExtensionUid*/)
1.58 + { return NULL; }
1.59 +
1.60 + protected: // Destructor
1.61 + virtual ~MVPbkContactStoreListObserver() { }
1.62 +
1.63 + };
1.64 +
1.65 +
1.66 +#endif // MVPBKCONTACTSTORELISTOBSERVER_H
1.67 +
1.68 +//End of file