epoc32/include/app/MVPbkContactStore2.h
branchSymbian3
changeset 4 837f303aceeb
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
       
     1 /*
       
     2 * Copyright (c) 2004-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 contact store interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MVPBKCONTACTSTORE2_H
       
    20 #define MVPBKCONTACTSTORE2_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32def.h>
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class MVPbkSingleContactLinkOperationObserver;
       
    27 class MVPbkContactOperationBase;
       
    28 
       
    29 // CLASS DECLARATIONS
       
    30 
       
    31 /**
       
    32  * This class is an extension to MVPbkContactStore.
       
    33  * See documentation of MVPbkContactStore from header mvpbkcontactstore.h 
       
    34  * 
       
    35  * You can access this extension by calling MVPbkContactStore->ContactStoreExtension()
       
    36  */
       
    37 class MVPbkContactStore2
       
    38     {
       
    39     protected:
       
    40         
       
    41         /**
       
    42          * This extension cannot be destroyed through this interface.
       
    43          */
       
    44         virtual ~MVPbkContactStore2() {};
       
    45         
       
    46     public:
       
    47         
       
    48         /**
       
    49         * Returns own contact link asynchronously.
       
    50         * 
       
    51         * @params aObserver Operation observer
       
    52         * @return operation handle
       
    53         * @Asynchronous
       
    54         */
       
    55            virtual MVPbkContactOperationBase* OwnContactLinkL(
       
    56                    MVPbkSingleContactLinkOperationObserver& aObserver) const = 0;
       
    57 
       
    58     };
       
    59 
       
    60 
       
    61 #endif // MVPBKCONTACTSTORE2_H
       
    62 
       
    63 // End of File