contacts_plat/virtual_phonebook_engine_api/inc/MVPbkContactOperation.h
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
equal deleted inserted replaced
62:5b6f26637ad3 63:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2005-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 abstract asynchronous contact operation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MVPBKCONTACTOPERATION_H
       
    20 #define MVPBKCONTACTOPERATION_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "MVPbkContactOperationBase.h"
       
    24 
       
    25 // CLASS DECLARATIONS
       
    26 
       
    27 /**
       
    28  * Virtual Phonebook abstract asynchronous contact operation.
       
    29  * The operation can be cancelled by deleting the operation object.
       
    30  */
       
    31 class MVPbkContactOperation : 
       
    32         public MVPbkContactOperationBase
       
    33     {
       
    34     public:  // Interface
       
    35         /**
       
    36          * Starts the contact operation.
       
    37          */
       
    38         virtual void StartL() =0;
       
    39 
       
    40         /**
       
    41          * Cancels the operation.
       
    42          */
       
    43         virtual void Cancel() =0;
       
    44 
       
    45         /**
       
    46          * Returns an extension point for this interface or NULL.
       
    47          * @param aExtensionUid Uid of extension.
       
    48          * @return Extension point or NULL.
       
    49          */
       
    50         virtual TAny* ContactOperationExtension(
       
    51                 TUid /*aExtensionUid*/) { return NULL; }
       
    52     };
       
    53 
       
    54 #endif // MVPBKCONTACTOPERATION_H
       
    55 
       
    56 // End of file
       
    57