inc/musfactorysettings.h
branchRCL_3
changeset 23 bc78a40cd63c
parent 22 73a1feb507fb
child 24 6c57ef9392d2
equal deleted inserted replaced
22:73a1feb507fb 23:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2005-2006 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 interface is used by
       
    15 *               clients to get and availability setting for Video Charging
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __MUSFACTORYSETTINGS_H__
       
    21 #define __MUSFACTORYSETTINGS_H__
       
    22 
       
    23 //  INCLUDES
       
    24 #include <badesca.h>
       
    25 #include <e32base.h>
       
    26 #include <etelmm.h>
       
    27 #include <ctsydomainpskeys.h>
       
    28 
       
    29 class MMusAvaSettingsObserver;
       
    30 
       
    31 /**
       
    32  *  Utility function to check the factory configurations.
       
    33  *  @lib musaoplugin.lib
       
    34  */
       
    35 
       
    36 class MusFactorySettings
       
    37     {   
       
    38 public:    
       
    39      /**
       
    40      * Checks from the factory settings whether call type is supported.
       
    41      * @aCallType : Type of the call retrived from Tsy apis.
       
    42      * 
       
    43      * @return ETrue if supported else EFalse.
       
    44      * Leaves when cenrep key is not found or cenrep related error happens.
       
    45      */         
       
    46     static TBool IsSupportedL(const TPSCTsyCallType& aCallType);
       
    47         
       
    48     /**
       
    49      * Checks from the factory settings whether network type is supported.
       
    50      * @aNetworkType : Type of the network
       
    51      * 
       
    52      * @return ETrue if supported else EFalse.
       
    53      * Leaves when cenrep key is not found or cenrep related error happens.
       
    54      */         
       
    55     static TBool IsSupportedL(const RMobilePhone::TMobilePhoneNetworkMode& aNetworkType);  
       
    56 
       
    57     };
       
    58 
       
    59 #include "musfactorysettings.inl"
       
    60 
       
    61 #endif
       
    62