emailservices/emailframework/inc/MFSMailBoxSearchObserver.h
changeset 0 8466d47a6819
child 2 5253a20d2a1e
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-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:  Defines EMail Framework mailbox search API observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MFSMAILBOXSEARCHOBSERVER_H
       
    20 #define MFSMAILBOXSEARCHOBSERVER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 //<cmail>
       
    26 #include "cfsmailmessage.h"
       
    27 //</cmail>
       
    28 
       
    29 /**
       
    30  * Freestyle email framework search API observer
       
    31  *
       
    32  */
       
    33 class MFSMailBoxSearchObserver
       
    34     {
       
    35  public:
       
    36 
       
    37    /** 
       
    38     * Notifies the email search API client that a match has been found
       
    39     * 
       
    40     * @param aMatchMessage contains a pointer to the matched message.
       
    41     *         Ownership is transfered to the observer.
       
    42     *
       
    43     */
       
    44     virtual void MatchFoundL( CFSMailMessage* aMatchMessage ) = 0;
       
    45 
       
    46    /**
       
    47     * Notifies the email search API client that the search has completed
       
    48 	*
       
    49 	*/
       
    50     virtual void SearchCompletedL() = 0;
       
    51       
       
    52     };
       
    53 
       
    54 #endif  // MFSMAILBOXSEARCHOBSERVER_H
       
    55 
       
    56 // End of File