devicediagnosticsfw/diagframework/inc/diagnetworkregstatusobserver.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:27:42 +0100
branchRCL_3
changeset 26 19bba8228ff0
parent 0 b497e44ab2fc
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2007 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:  This is the header for the Diagnostics Network registration
*                 status observer interface
*
*/


#ifndef DIAGNETWORKREGSTATUSOBSERVER_H
#define DIAGNETWORKREGSTATUSOBSERVER_H

/**
* Diagnostics Plugin Network registration status observer interface
*   
* This is an abstract class which plugins must derive and implement to receive
* call-backs from the Diagnostics Network registration status observer.
*/
class MDiagNetworkRegStatusObserver
    {
public:
    /**
    * This function is used to inform the intial network registration status
    *
    * @param aRegistered. 
    *  ETrue :The device is currently registered on the network
    *  EFalse:The device is currently not registered on the network.
    */
    virtual void InitialNetworkRegistrationStatusL( const TBool& aRegistered ) = 0;
    
    /**
    * This interface is used to inform the clients of any changes in the network registration
    * status
    *
    * @param aRegistered
    * ETrue :The device has now changed to registered status.
    * EFalse:The device has now lost network coverage.
    */    
    virtual void NetworkRegistrationStatusChangeL( const TBool& aRegistered ) = 0;
    };

#endif // DIAGNETWORKREGSTATUSOBSERVER_H

//End of file