radioengine/settings/api/mradiosettingsobserver.h
branchRCL_3
changeset 19 cce62ebc198e
equal deleted inserted replaced
18:1a6714c53019 19:cce62ebc198e
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef M_RADIOSETTINGSOBSERVER_H
       
    19 #define M_RADIOSETTINGSOBSERVER_H
       
    20 
       
    21 
       
    22 /**
       
    23  * Interface for observing some radio related settings.
       
    24  * This interface is intended for the use of radio to update it's internal state
       
    25  * to conform to newly changed setting
       
    26  */
       
    27 NONSHARABLE_CLASS( MRadioSettingsObserver )
       
    28     {
       
    29 public:
       
    30 
       
    31     /**
       
    32      * Notifies of the change in RDS alternate frequency setting
       
    33      *
       
    34      * @param aEnabled ETrue if AF search is enabled, otherwise EFalse
       
    35      */
       
    36     virtual void RdsAfSearchSettingChangedL( TBool aEnabled ) = 0;
       
    37 
       
    38     /**
       
    39      * Notifies of the change in region setting when it is changed
       
    40      * outside of the particular radio settings instance
       
    41      *
       
    42      * @param aRegion The new region ID
       
    43      */
       
    44     virtual void RegionSettingChangedL( TInt aRegion ) = 0;
       
    45 
       
    46     };
       
    47 
       
    48 #endif // M_RADIOSETTINGSOBSERVER_H