emailservices/emailframework/inc/MFSMailBoxSearchObserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:39:21 +0200
changeset 0 8466d47a6819
child 2 5253a20d2a1e
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2007-2008 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:  Defines EMail Framework mailbox search API observer
*
*/


#ifndef MFSMAILBOXSEARCHOBSERVER_H
#define MFSMAILBOXSEARCHOBSERVER_H

//  INCLUDES
#include <e32base.h>

//<cmail>
#include "cfsmailmessage.h"
//</cmail>

/**
 * Freestyle email framework search API observer
 *
 */
class MFSMailBoxSearchObserver
    {
 public:

   /** 
    * Notifies the email search API client that a match has been found
    * 
    * @param aMatchMessage contains a pointer to the matched message.
    *         Ownership is transfered to the observer.
    *
    */
    virtual void MatchFoundL( CFSMailMessage* aMatchMessage ) = 0;

   /**
    * Notifies the email search API client that the search has completed
	*
	*/
    virtual void SearchCompletedL() = 0;
      
    };

#endif  // MFSMAILBOXSEARCHOBSERVER_H

// End of File