epoc32/include/app/MVPbkContactOperationBase.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 base class for asynchronous contact 
    15 *                operations.
    16 *
    17 */
    18 
    19 
    20 #ifndef MVPBKCONTACTOPERATIONBASE_H
    21 #define MVPBKCONTACTOPERATIONBASE_H
    22 
    23 // INCLUDES
    24 #include <e32cmn.h>
    25 
    26 // CLASS DECLARATIONS
    27 
    28 /**
    29  * Virtual Phonebook abtract asynchronous contact operation.
    30  * This interface is used as a handle to asynchronous contact operations.
    31  * Clients should keep a reference to the handle during the asynchronous 
    32  * operation to be able to delete and cancel the operation before it
    33  * completes.
    34  */
    35 class MVPbkContactOperationBase
    36     {
    37     public:  // Interface
    38         /**
    39          * Destructor. Cancels this operation and releases any 
    40          * resources held by it.
    41          */
    42         virtual ~MVPbkContactOperationBase() {}
    43 
    44         /**
    45          * Returns an extension point for this interface or NULL.
    46          * @param aExtensionUid Uid of extension.
    47          * @return Extension point or NULL.
    48          */
    49         virtual TAny* ContactOperationBaseExtension(
    50                 TUid /*aExtensionUid*/) { return NULL; }
    51     };
    52 
    53 #endif // MVPBKCONTACTOPERATIONBASE_H
    54 
    55 // End of File