emailuis/emailui/inc/FreestyleEmailUiCLSListsObserver.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 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:  CLS list change observer abstract class definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FREESTYLEEMAILUICLSLISTSOBSERVER_H
       
    20 #define FREESTYLEEMAILUICLSLISTSOBSERVER_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 
       
    24 class CFSEmailUiClsItem;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28  * Freestyle email application's cls list change observer interface
       
    29  *
       
    30  *
       
    31  */
       
    32  
       
    33 class MFSEmailUiClsListsObserver
       
    34 	{
       
    35 
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Notifies the observer to update shown contact list with new matching items array
       
    40      * Observer should save the pointer for further usage. Everytime this UpdateL method
       
    41      * is called new pointer should be saved. 
       
    42      *
       
    43      * @param aMatchingItems list of matching contact and MRU list items
       
    44      *					First items in the array are the one found in contacts which have email address.
       
    45      *					After first items are matches from MRU list. Last items are contact matches which don't
       
    46      *					have email address.
       
    47      */
       
    48     virtual void ArrayUpdatedL( const RPointerArray<CFSEmailUiClsItem>& aMatchingItems ) = 0;
       
    49     virtual void OperationErrorL( TInt aErrorCode )= 0;
       
    50     };
       
    51 
       
    52 #endif  // FREESTYLEEMAILUICLSLISTSOBSERVER_H
       
    53 
       
    54 // End of File