contacts_plat/virtual_phonebook_engine_api/inc/CVPbkVoiceTagAttribute.h
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
equal deleted inserted replaced
62:5b6f26637ad3 63:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Virtual Phonebook attribute class for voice tags.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CVPBKVOICETAGATTRIBUTE_H
       
    20 #define CVPBKVOICETAGATTRIBUTE_H
       
    21 
       
    22 // INCLUDE FILES
       
    23 #include <e32base.h>
       
    24 #include <MVPbkContactAttribute.h>
       
    25 #include <MVPbkContactAttributeManager.h>
       
    26 #include <VPbkPublicUid.h>
       
    27 #include <VPbkFieldType.hrh>
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 
       
    31 /**
       
    32  * Virtual Phonebook Voice tag attribute.
       
    33  * Responsible for encapsulating the voice tag attribute management for
       
    34  * contacts. 
       
    35  */
       
    36 class CVPbkVoiceTagAttribute : 
       
    37         public CBase, 
       
    38         public MVPbkContactAttribute
       
    39     {
       
    40     public: // static data
       
    41         /**
       
    42          * Voice tag attribute implementation UID.
       
    43          * @return Voice tag attribute implementation UID.
       
    44          */
       
    45         inline static TUid Uid() 
       
    46             { return TUid::Uid(KVPbkVoiceTagAttributeImplementationUID); }
       
    47 
       
    48     public: // constructor and destructor    
       
    49         /**
       
    50          * Constructor.
       
    51          *
       
    52          * @return New instance of this class
       
    53          */
       
    54         IMPORT_C static CVPbkVoiceTagAttribute* NewL();
       
    55         
       
    56         /**
       
    57          * Destructor.
       
    58          */
       
    59         ~CVPbkVoiceTagAttribute();
       
    60         
       
    61     public: // from MVPbkContactAttribute
       
    62         TUid AttributeType() const;
       
    63         MVPbkContactAttribute* CloneLC() const;
       
    64         
       
    65     private: // implementation
       
    66         CVPbkVoiceTagAttribute();
       
    67     };
       
    68     
       
    69 #endif // CVPBKVOICETAGATTRIBUTE_H
       
    70 
       
    71 // End of File