messagingapp/msgsettings/msginit/inc/msignalstrengthobserver.h
changeset 52 12db4185673b
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
       
     1 /*
       
     2 * Copyright (c) 2010 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:   Observer for signal strength handler
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSIGNALSTRENGTHOBSERVER_H
       
    21 #define MSIGNALSTRENGTHOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Interface for a class which observes if there are any changes
       
    30 *  in phone signal strength.
       
    31 */
       
    32 class MSignalStrengthObserver
       
    33     {
       
    34     public:     // Constructors and destructor
       
    35 
       
    36         /**
       
    37         * Destructor.
       
    38         */
       
    39         virtual ~MSignalStrengthObserver() {};
       
    40 
       
    41     public:     // New functions
       
    42 
       
    43         /**
       
    44          * Notifies about updates in signal bars and strength.
       
    45          * @param aNewSignalValue New value for the signal strength.
       
    46          * @param aNewBarValue New value for the signal bars.
       
    47          */
       
    48         virtual void SignalStrengthAndBarUpdatedL( TInt aNewSignalValue, TInt aNewBarValue ) = 0;
       
    49     };
       
    50 
       
    51 #endif      // MSIGNALSTRENGTHOBSERVER_H
       
    52 
       
    53 // End of File