wvuing/wvuieng/EngInc/MCASearchObserverInterface.h
author Fionntina Carville <fionntinac@symbian.org>
Mon, 15 Nov 2010 11:27:49 +0000
branchRCL_3
changeset 22 df9aab66f73e
parent 0 094583676ce7
permissions -rw-r--r--
Bug 3539. Update localisation mappings.

/*
* Copyright (c) 2003 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:  Interface for search observer
*
*/


#ifndef MCASEARCHOBSERVERINTERFACE_H
#define MCASEARCHOBSERVERINTERFACE_H

//INCLUDES
#include <e32std.h>
// CLASS DECLARATION

/**
 *  Search observer interface to the UI.
 *  Signalling goes from the Engine -> UI.
 *
 *  @lib CAEngine.lib
 *  @since 2.1
 */
class MCASearchObserverInterface
    {
    public:

        /**
         * Error handling function for the UI side.
         * @param aErrorCode defines the error
         */
        virtual void HandleSearchError( TInt aErrorCode ) = 0;

        /**
         * The pending search has been finished.
         */
        virtual void HandleSearchFinished() = 0;

    protected:
        /**
         * Destructor.
         */
        virtual ~MCASearchObserverInterface() {};
    };

#endif      // MCASEARCHOBSERVERINTERFACE_H

// End of File