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 attribute class for voice tags.
19 #ifndef CVPBKVOICETAGATTRIBUTE_H
20 #define CVPBKVOICETAGATTRIBUTE_H
24 #include <mvpbkcontactattribute.h>
25 #include <mvpbkcontactattributemanager.h>
26 #include <vpbkpublicuid.h>
27 #include <vpbkfieldtype.hrh>
29 // FORWARD DECLARATIONS
32 * Virtual Phonebook Voice tag attribute.
33 * Responsible for encapsulating the voice tag attribute management for
36 class CVPbkVoiceTagAttribute :
38 public MVPbkContactAttribute
40 public: // static data
42 * Voice tag attribute implementation UID.
43 * @return Voice tag attribute implementation UID.
45 inline static TUid Uid()
46 { return TUid::Uid(KVPbkVoiceTagAttributeImplementationUID); }
48 public: // constructor and destructor
52 * @return New instance of this class
54 IMPORT_C static CVPbkVoiceTagAttribute* NewL();
59 ~CVPbkVoiceTagAttribute();
61 public: // from MVPbkContactAttribute
62 TUid AttributeType() const;
63 MVPbkContactAttribute* CloneLC() const;
65 private: // implementation
66 CVPbkVoiceTagAttribute();
69 #endif // CVPBKVOICETAGATTRIBUTE_H