locationsystemui/locationsysui/locblidsatelliteinfo/inc/MEngObserver.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2005 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:  Provides an observer interface to satellite engine.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MENGOBSERVER_H__
       
    21 #define __MENGOBSERVER_H__
       
    22 
       
    23 // CLASS DECLARATIONS
       
    24 /**
       
    25 * Provides API only for SatInfo dll.
       
    26 */
       
    27 class MEngObserver
       
    28     {
       
    29     public: // New functions
       
    30         /**
       
    31          * Notifies the engine observer about occured event.
       
    32          * Engine observer has to update its data when this function is called.
       
    33          */
       
    34         virtual void NotifyL(TInt aError) = 0;
       
    35 
       
    36         /**
       
    37          * Called if occured event causes a leave in previous NotifyL method.
       
    38          * @param aErrorCode Occured general errorcode.
       
    39          */
       
    40         virtual void NotifyError( TInt aErrorCode ) = 0;
       
    41     };
       
    42 
       
    43 #endif      // __MENGOBSERVER_H__
       
    44 
       
    45 // End of File