2 * Copyright (c) 2002-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: Virtual Phonebook interface for contact attributes.
15 * Attributes are e.g speed dial or defaults
20 #ifndef MVPBKCONTACTATTRIBUTE_H
21 #define MVPBKCONTACTATTRIBUTE_H
28 * Virtual Phonebook Contact attribute interface.
29 * Base class for different kinds of attributes.
30 * The UID returned by AttributeType uniquely identifies
31 * the implementation class of this interface.
33 class MVPbkContactAttribute
39 virtual ~MVPbkContactAttribute() {}
42 * Returns the attribute type of the object.
43 * @return The attribute type of the object.
45 virtual TUid AttributeType() const =0;
48 * Returns a copy of this object.
49 * @return A copy of this object.
51 virtual MVPbkContactAttribute* CloneLC() const =0;
54 * Returns an extension point for this interface or NULL.
55 * @param aExtensionUid Extension identifier.
56 * @return An extension object.
58 virtual TAny* ContactAttributeExtension(
59 TUid /*aExtensionUid*/) { return NULL; }
62 #endif // MVPBKCONTACTATTRIBUTE_H