basiclocationinfodisplay/blid/engine/inc/MBlidEngObserver.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     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 blid application engine.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MBLIDENGOBSERVER_H__
       
    21 #define __MBLIDENGOBSERVER_H__
       
    22 
       
    23 // CLASS DECLARATIONS
       
    24 /**
       
    25 *  Engine provides this API only for Blid application.
       
    26 *
       
    27 */
       
    28 class MBlidEngObserver
       
    29     {
       
    30     public: // New functions
       
    31         /**
       
    32          * Notifies the engine observer about occured event.
       
    33          * Engine observer has to update its data when this function is called.
       
    34          * @param aOnlineMode if ETrue application is online and if
       
    35          * EFalse application is offline.
       
    36          */
       
    37         virtual void NotifyL( const TBool aOnlineMode ) = 0;
       
    38 
       
    39         /**
       
    40          * Called if occured event causes a leave in previous NotifyL method.
       
    41          * @param aErrorCode Occured general errorcode.
       
    42          */
       
    43         virtual void NotifyErrorL( TInt aErrorCode ) = 0;
       
    44     };
       
    45 
       
    46 #endif      // __MBLIDENGOBSERVER_H__
       
    47 
       
    48 // End of File