idlefw/plugins/devicestatus/inc/ainetworkinfoobserver.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Network info observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_AINETWORKINFOOBSERVER_H
       
    20 #define M_AINETWORKINFOOBSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <NWHandlingEngine.h>
       
    24 
       
    25 /**
       
    26  *  @ingroup group_devicestatusplugin
       
    27  *
       
    28  *  Network info observer.
       
    29  *
       
    30  *  Client gets network info changes through this interface.
       
    31  *
       
    32  *  @since S60 3.2
       
    33  */
       
    34 class MAiNetworkInfoObserver
       
    35     {
       
    36 
       
    37 protected:
       
    38 
       
    39     /**
       
    40      * Virtual destructor.
       
    41      * Cannot be used to destruct the object.
       
    42      */
       
    43     virtual ~MAiNetworkInfoObserver() {};
       
    44 
       
    45 public:
       
    46 
       
    47     /**
       
    48      * Called when network info changes.
       
    49      *
       
    50      * @since S60 3.2
       
    51      * @param aMessage is type of the change.
       
    52      * @param aInfo is new network info structure.
       
    53      */
       
    54     virtual void HandleNetworkInfoChange( const MNWMessageObserver::TNWMessages& aMessage, 
       
    55     							  		  const TNWInfo& aInfo, 
       
    56     							  		  const TBool aShowOpInd ) = 0;
       
    57     };
       
    58 
       
    59 
       
    60 #endif // M_AINETWORKINFOOBSERVER_H