uiservicetab/vimpstcmdprocess/inc/mvimpstprocessArrayobserver.h
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
equal deleted inserted replaced
21:2b7283837edb 22:3104fc151679
     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:  Interface for observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MVIMPSTPROCESSARRAYOBSERVER_H
       
    20 #define MVIMPSTPROCESSARRAYOBSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include "tvimpstenums.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  *  Interface for observer
       
    29  *
       
    30  *  @lib vimpstcmdprocess.dll
       
    31  *  @since 5.0
       
    32  */
       
    33   
       
    34 class MVIMPSTProcessArrayObserver
       
    35     {
       
    36     public: // New functions
       
    37 	   
       
    38 	    
       
    39         /**
       
    40          * Called when a contact is added.
       
    41          * @param type. type of the item deleted(contact/contactlist).
       
    42          * @param aIndex The index which was added
       
    43          */
       
    44         virtual void HandleAdditionL(TVIMPSTEnums::TItem type, 
       
    45         							TInt aIndex) = 0;
       
    46         /**
       
    47          * Called when a contact is deleted.
       
    48          * @param type. type of the item deleted(contact/contactlist).
       
    49          * @param aIndex The aIndex which was deleted.
       
    50          */        							
       
    51         virtual void HandleDeletionL(TVIMPSTEnums::TItem type, TInt aIndex) = 0;
       
    52         virtual void HandleAvatarChangeL( const TDesC& aUserId ) = 0;
       
    53 
       
    54         /**
       
    55          * Virtual destructor
       
    56          */
       
    57         virtual ~MVIMPSTProcessArrayObserver() {};
       
    58     };
       
    59 
       
    60 
       
    61 #endif // MVIMPSTPROCESSARRAYOBSERVER_H
       
    62 
       
    63 // End of File