locationsystemui/locationsysui/locblidsatelliteinfo/inc/MEngObserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:42:19 +0200
branchRCL_3
changeset 7 19bff11d6c18
parent 0 667063e416a2
permissions -rw-r--r--
Revision: 201009 Kit: 201010

/*
* Copyright (c) 2005 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:  Provides an observer interface to satellite engine.
*
*/



#ifndef __MENGOBSERVER_H__
#define __MENGOBSERVER_H__

// CLASS DECLARATIONS
/**
* Provides API only for SatInfo dll.
*/
class MEngObserver
    {
    public: // New functions
        /**
         * Notifies the engine observer about occured event.
         * Engine observer has to update its data when this function is called.
         */
        virtual void NotifyL(TInt aError) = 0;

        /**
         * Called if occured event causes a leave in previous NotifyL method.
         * @param aErrorCode Occured general errorcode.
         */
        virtual void NotifyError( TInt aErrorCode ) = 0;
    };

#endif      // __MENGOBSERVER_H__

// End of File