phonesrv_plat/phone_settings_api/inc/MPsetNetworkMode.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2004 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 *       MPsetNetworkMode defines interface to get network mode information.
       
    16 *       MPsetNetworkInfoObserver is used to handle completion of function 
       
    17 *       calls of this class. All the methods are asynchronous.    
       
    18 *       Observer handles completion                                           
       
    19 *
       
    20 *
       
    21 */
       
    22 
       
    23 
       
    24 #ifndef     MPSETNETWORKMODE_H
       
    25 #define     MPSETNETWORKMODE_H
       
    26 
       
    27 //  INCLUDES
       
    28 #include <e32base.h>
       
    29 
       
    30 //  CLASS DEFINITIONS 
       
    31 /**
       
    32 *  MPsetNetworkMode class is virtual class for system network mode.
       
    33 *  @lib phonesettings.lib
       
    34 *  @since 2.6
       
    35 */
       
    36 class   MPsetNetworkMode
       
    37     {
       
    38     public:
       
    39 
       
    40         /**
       
    41         * Returns the Network Mode list (GSM/UMTS/DualMode).
       
    42         * @since 2.6
       
    43         */
       
    44         //virtual void GetNetworkModeSelectionList() = 0;        
       
    45 
       
    46         /**
       
    47         * Returns the currently selected Network Mode (GSM/UMTS/DualMode).
       
    48         *
       
    49         * @since 2.6
       
    50         */
       
    51         virtual void GetCurrentNetworkModeSelectionL() = 0;
       
    52 
       
    53         /**
       
    54         * Sets the Network Mode to TSY side (GSM/UMTS/DualMode).
       
    55         *
       
    56         * @param aNetworkMode currently selected network mode.
       
    57         * @since 2.6
       
    58         */
       
    59         virtual void SetNetworkModeSelectionL( TUint32& aNetworkMode ) = 0;
       
    60 
       
    61 
       
    62     };
       
    63 
       
    64 #endif // MPSETNETWORKMODE_H
       
    65 
       
    66 // End of File