uiservicetab/vimpstdetailsviewplugin/inc/mvimpstdetailsviewcontactobserver.h
branchRCL_3
changeset 23 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
22:3104fc151679 23:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2008 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:  observer class for contact retrieval
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MVIMPSTDETAILSVIEWCONTACTOBSERVER_H
       
    20 #define MVIMPSTDETAILSVIEWCONTACTOBSERVER_H
       
    21 
       
    22 class MVPbkStoreContact;
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27  * contact  observer interface.
       
    28  * @lib vimpstdetailsviewplugin.dll
       
    29  * @since 5.0
       
    30  */
       
    31 class MVIMPSTDetailsViewContactObserver
       
    32     {
       
    33     public: // Interface
       
    34 
       
    35         /**
       
    36          * Notifies the contact observer that the contact is retrieved
       
    37          * @param aContact  contact which is retrieved
       
    38          */
       
    39         virtual void HandleContactReadyL( MVPbkStoreContact& aContact ) = 0 ;
       
    40         
       
    41 		/**
       
    42 		* call back from contact manager
       
    43 		* @param aContact, a contact fetched from store
       
    44 		*/	    
       
    45 		virtual void HandleContactUnavailableL()  = 0  ;
       
    46 	
       
    47 
       
    48     protected: // Disabled functions
       
    49         /**
       
    50          * virtual destructor.
       
    51          */  
       
    52         virtual ~MVIMPSTDetailsViewContactObserver()
       
    53         {}
       
    54     };
       
    55 
       
    56 #endif // MVIMPSTDETAILSVIEWCONTACTOBSERVER_H
       
    57 
       
    58 // End of File