epoc32/include/app/CVPbkVoiceTagAttribute.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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