cellular/telephonysettings/src/PSetUtility.cpp
changeset 12 ae8abd0db65c
parent 0 ff3b6d0fd310
child 13 e32024264ebb
equal deleted inserted replaced
0:ff3b6d0fd310 12:ae8abd0db65c
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include "PSetUtility.h"
    21 #include "PSetUtility.h" 
    22 #include <RSSSettings.h>
    22 #include <rsssettings.h> 
    23 #include "PhoneSettingsLogger.h"
    23 #include "PhoneSettingsLogger.h" 
    24 
    24 
    25 // ============================ MEMBER FUNCTIONS ===============================
    25 // ============================ MEMBER FUNCTIONS ===============================
    26 
    26 
    27 // ---------------------------------------------------------------------------
    27 // ---------------------------------------------------------------------------
    28 // 
    28 // 
   309         default:
   309         default:
   310             return RMobilePhone::ECallForwardingUnspecified;
   310             return RMobilePhone::ECallForwardingUnspecified;
   311         }
   311         }
   312     }
   312     }
   313 
   313 
       
   314 // <-- QT PHONE START -->
       
   315 // ---------------------------------------------------------------------------
       
   316 // 
       
   317 // Returns divert reason
       
   318 // 
       
   319 // ---------------------------------------------------------------------------
       
   320 //
       
   321 TCallDivertingCondition PSetUtility::GetDivertReason(
       
   322     RMobilePhone::TMobilePhoneCFCondition aCondition )
       
   323     {
       
   324     switch ( aCondition )
       
   325         {
       
   326         /*****************************************************
       
   327         *    Series 60 Customer / ETel
       
   328         *    Series 60  ETel API
       
   329         *****************************************************/
       
   330         case RMobilePhone::ECallForwardingAllConditionalCases:
       
   331             return EDivertConditionAllConditionalCases;
       
   332         case RMobilePhone::ECallForwardingAllCases:
       
   333             return EDivertConditionAllCalls;
       
   334         case RMobilePhone::ECallForwardingUnconditional:
       
   335             return EDivertConditionUnconditional;
       
   336         case RMobilePhone::ECallForwardingBusy:
       
   337            return EDivertConditionBusy;
       
   338         case RMobilePhone::ECallForwardingNoReply:
       
   339             return EDivertConditionNoReply;
       
   340         case RMobilePhone::ECallForwardingNotReachable:
       
   341         default:
       
   342            return EDivertConditionNotReachable;
       
   343         }
       
   344     }
       
   345 // <-- QT PHONE END -->
       
   346 
   314 // ---------------------------------------------------------------------------
   347 // ---------------------------------------------------------------------------
   315 // Verify that ALS is really used.
   348 // Verify that ALS is really used.
   316 // ---------------------------------------------------------------------------
   349 // ---------------------------------------------------------------------------
   317 //
   350 //
   318 RMobilePhone::TMobileService PSetUtility::VerifyAltLineUseL()
   351 RMobilePhone::TMobileService PSetUtility::VerifyAltLineUseL()