emailuis/emailui/inc/FreestyleEmailUiCLSListsObserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:20:14 +0300
branchRCL_3
changeset 35 e64954c2c8e2
parent 0 8466d47a6819
permissions -rw-r--r--
Revision: 201015 Kit: 201017

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  CLS list change observer abstract class definition
*
*/


#ifndef FREESTYLEEMAILUICLSLISTSOBSERVER_H
#define FREESTYLEEMAILUICLSLISTSOBSERVER_H

// FORWARD DECLARATIONS

class CFSEmailUiClsItem;

// CLASS DECLARATION
/**
 * Freestyle email application's cls list change observer interface
 *
 *
 */
 
class MFSEmailUiClsListsObserver
	{

public:

    /**
     * Notifies the observer to update shown contact list with new matching items array
     * Observer should save the pointer for further usage. Everytime this UpdateL method
     * is called new pointer should be saved. 
     *
     * @param aMatchingItems list of matching contact and MRU list items
     *					First items in the array are the one found in contacts which have email address.
     *					After first items are matches from MRU list. Last items are contact matches which don't
     *					have email address.
     */
    virtual void ArrayUpdatedL( const RPointerArray<CFSEmailUiClsItem>& aMatchingItems ) = 0;
    virtual void OperationErrorL( TInt aErrorCode )= 0;
    };

#endif  // FREESTYLEEMAILUICLSLISTSOBSERVER_H

// End of File