epoc32/include/app/MVPbkContactAttribute.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.
williamr@4
     1
/*
williamr@4
     2
* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     3
* All rights reserved.
williamr@4
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@4
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     8
*
williamr@4
     9
* Initial Contributors:
williamr@4
    10
* Nokia Corporation - initial contribution.
williamr@4
    11
*
williamr@4
    12
* Contributors:
williamr@4
    13
*
williamr@4
    14
* Description:  Virtual Phonebook interface for contact attributes.
williamr@4
    15
*                Attributes are e.g speed dial or defaults
williamr@4
    16
*
williamr@4
    17
*/
williamr@4
    18
williamr@4
    19
williamr@4
    20
#ifndef MVPBKCONTACTATTRIBUTE_H
williamr@4
    21
#define MVPBKCONTACTATTRIBUTE_H
williamr@4
    22
williamr@4
    23
// INCLUDE FILES
williamr@4
    24
#include <e32cmn.h>
williamr@4
    25
#include <e32std.h>
williamr@4
    26
williamr@4
    27
/**
williamr@4
    28
 * Virtual Phonebook Contact attribute interface.
williamr@4
    29
 * Base class for different kinds of attributes.
williamr@4
    30
 * The UID returned by AttributeType uniquely identifies 
williamr@4
    31
 * the implementation class of this interface.
williamr@4
    32
 */
williamr@4
    33
class MVPbkContactAttribute
williamr@4
    34
    {
williamr@4
    35
    public:
williamr@4
    36
        /**
williamr@4
    37
         * Destructor.
williamr@4
    38
         */
williamr@4
    39
        virtual ~MVPbkContactAttribute() {}
williamr@4
    40
        
williamr@4
    41
        /**
williamr@4
    42
         * Returns the attribute type of the object.
williamr@4
    43
         * @return The attribute type of the object.
williamr@4
    44
         */
williamr@4
    45
        virtual TUid AttributeType() const =0;
williamr@4
    46
        
williamr@4
    47
        /**
williamr@4
    48
         * Returns a copy of this object.
williamr@4
    49
         * @return A copy of this object.
williamr@4
    50
         */
williamr@4
    51
        virtual MVPbkContactAttribute* CloneLC() const =0;
williamr@4
    52
williamr@4
    53
        /**
williamr@4
    54
         * Returns an extension point for this interface or NULL.
williamr@4
    55
         * @param aExtensionUid Extension identifier.
williamr@4
    56
         * @return An extension object.
williamr@4
    57
         */
williamr@4
    58
        virtual TAny* ContactAttributeExtension(
williamr@4
    59
                TUid /*aExtensionUid*/) { return NULL; }
williamr@4
    60
    };
williamr@4
    61
    
williamr@4
    62
#endif // MVPBKCONTACTATTRIBUTE_H
williamr@4
    63
williamr@4
    64
// End of File