devicediagnosticsfw/diagframework/inc/diagnetworkregstatusobserver.h
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2007 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:  This is the header for the Diagnostics Network registration
       
    15 *                 status observer interface
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef DIAGNETWORKREGSTATUSOBSERVER_H
       
    21 #define DIAGNETWORKREGSTATUSOBSERVER_H
       
    22 
       
    23 /**
       
    24 * Diagnostics Plugin Network registration status observer interface
       
    25 *   
       
    26 * This is an abstract class which plugins must derive and implement to receive
       
    27 * call-backs from the Diagnostics Network registration status observer.
       
    28 */
       
    29 class MDiagNetworkRegStatusObserver
       
    30     {
       
    31 public:
       
    32     /**
       
    33     * This function is used to inform the intial network registration status
       
    34     *
       
    35     * @param aRegistered. 
       
    36     *  ETrue :The device is currently registered on the network
       
    37     *  EFalse:The device is currently not registered on the network.
       
    38     */
       
    39     virtual void InitialNetworkRegistrationStatusL( const TBool& aRegistered ) = 0;
       
    40     
       
    41     /**
       
    42     * This interface is used to inform the clients of any changes in the network registration
       
    43     * status
       
    44     *
       
    45     * @param aRegistered
       
    46     * ETrue :The device has now changed to registered status.
       
    47     * EFalse:The device has now lost network coverage.
       
    48     */    
       
    49     virtual void NetworkRegistrationStatusChangeL( const TBool& aRegistered ) = 0;
       
    50     };
       
    51 
       
    52 #endif // DIAGNETWORKREGSTATUSOBSERVER_H
       
    53 
       
    54 //End of file
       
    55