wvuing/wvuieng/EngInc/MCASearchObserverInterface.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2003 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 search observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCASEARCHOBSERVERINTERFACE_H
       
    20 #define MCASEARCHOBSERVERINTERFACE_H
       
    21 
       
    22 //INCLUDES
       
    23 #include <e32std.h>
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27  *  Search observer interface to the UI.
       
    28  *  Signalling goes from the Engine -> UI.
       
    29  *
       
    30  *  @lib CAEngine.lib
       
    31  *  @since 2.1
       
    32  */
       
    33 class MCASearchObserverInterface
       
    34     {
       
    35     public:
       
    36 
       
    37         /**
       
    38          * Error handling function for the UI side.
       
    39          * @param aErrorCode defines the error
       
    40          */
       
    41         virtual void HandleSearchError( TInt aErrorCode ) = 0;
       
    42 
       
    43         /**
       
    44          * The pending search has been finished.
       
    45          */
       
    46         virtual void HandleSearchFinished() = 0;
       
    47 
       
    48     protected:
       
    49         /**
       
    50          * Destructor.
       
    51          */
       
    52         virtual ~MCASearchObserverInterface() {};
       
    53     };
       
    54 
       
    55 #endif      // MCASEARCHOBSERVERINTERFACE_H
       
    56 
       
    57 // End of File