epoc32/include/app/CVPbkVoiceTagAttribute.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/app/CVPbkVoiceTagAttribute.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,71 @@
     1.4 +/*
     1.5 +* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:  Virtual Phonebook attribute class for voice tags.
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +#ifndef CVPBKVOICETAGATTRIBUTE_H
    1.23 +#define CVPBKVOICETAGATTRIBUTE_H
    1.24 +
    1.25 +// INCLUDE FILES
    1.26 +#include <e32base.h>
    1.27 +#include <mvpbkcontactattribute.h>
    1.28 +#include <mvpbkcontactattributemanager.h>
    1.29 +#include <vpbkpublicuid.h>
    1.30 +#include <vpbkfieldtype.hrh>
    1.31 +
    1.32 +// FORWARD DECLARATIONS
    1.33 +
    1.34 +/**
    1.35 + * Virtual Phonebook Voice tag attribute.
    1.36 + * Responsible for encapsulating the voice tag attribute management for
    1.37 + * contacts. 
    1.38 + */
    1.39 +class CVPbkVoiceTagAttribute : 
    1.40 +        public CBase, 
    1.41 +        public MVPbkContactAttribute
    1.42 +    {
    1.43 +    public: // static data
    1.44 +        /**
    1.45 +         * Voice tag attribute implementation UID.
    1.46 +         * @return Voice tag attribute implementation UID.
    1.47 +         */
    1.48 +        inline static TUid Uid() 
    1.49 +            { return TUid::Uid(KVPbkVoiceTagAttributeImplementationUID); }
    1.50 +
    1.51 +    public: // constructor and destructor    
    1.52 +        /**
    1.53 +         * Constructor.
    1.54 +         *
    1.55 +         * @return New instance of this class
    1.56 +         */
    1.57 +        IMPORT_C static CVPbkVoiceTagAttribute* NewL();
    1.58 +        
    1.59 +        /**
    1.60 +         * Destructor.
    1.61 +         */
    1.62 +        ~CVPbkVoiceTagAttribute();
    1.63 +        
    1.64 +    public: // from MVPbkContactAttribute
    1.65 +        TUid AttributeType() const;
    1.66 +        MVPbkContactAttribute* CloneLC() const;
    1.67 +        
    1.68 +    private: // implementation
    1.69 +        CVPbkVoiceTagAttribute();
    1.70 +    };
    1.71 +    
    1.72 +#endif // CVPBKVOICETAGATTRIBUTE_H
    1.73 +
    1.74 +// End of File