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 interface for store contacts.
19 #ifndef MVPBKSTORECONTACT2_H
20 #define MVPBKSTORECONTACT2_H
23 // FORWARD DECLARATIONS
24 class MVPbkStoreContactProperties;
29 * This class is an extension to MVPbkStoreContact.
30 * See documentation of MVPbkStoreContact from header MVPbkStoreContact.h
33 * @see MVPbkStoreContact
36 class MVPbkStoreContact2
39 virtual ~MVPbkStoreContact2() { }
44 * Returns auxiliary properties.
45 * Can return NULL if underlying store doesn't support any
46 * of MVPbkStoreContactProperties functions.
48 * @return A properties object
50 virtual MVPbkStoreContactProperties* PropertiesL() const =0;
53 * Set the contact as the store's current own contact asynchronously.
55 * @param aObserver The observer to call back when this operation
56 * completes. The observer will not be called if this
58 * @exception KErrInUse If another asynchronous operation is already
60 * @exception KErrNotSupported If store does not support own contact
62 virtual void SetAsOwnL(MVPbkContactObserver& aObserver) const =0;
69 #endif // MVPBKSTORECONTACT2_H