bearermanagement/mpm/src/mpmroamingwatcher.cpp
changeset 18 fcbbe021d614
parent 0 5a93021fdf25
--- a/bearermanagement/mpm/src/mpmroamingwatcher.cpp	Tue Feb 02 00:24:11 2010 +0200
+++ b/bearermanagement/mpm/src/mpmroamingwatcher.cpp	Fri Apr 16 15:21:37 2010 +0300
@@ -58,8 +58,7 @@
       iMobilePhone( aMobilePhone ),
       iRegistrationStatus( RMobilePhone::ERegistrationUnknown ),
       iRoamingStatus( EMPMRoamingStatusUnknown ),
-      iCurrentCountryCode( 0 ),
-      iAskCellularDataUsageAbroad( true )
+      iCurrentCountryCode( 0 )
     {
     MPMLOGSTRING( "CMPMRoamingWatcher::CMPMRoamingWatcher" )
     CActiveScheduler::Add( this );
@@ -188,7 +187,6 @@
         case RMobilePhone::ERegisteredOnHomeNetwork:
             {
             roamingStatus = EMPMHomenetwork;
-            iAskCellularDataUsageAbroad = false;
             break;
             }
             
@@ -221,11 +219,6 @@
                     else
                         {
                         roamingStatus = EMPMInternationalRoaming;
-                        //
-                        if ( iCurrentCountryCode != countryCode )
-                            {
-                            iAskCellularDataUsageAbroad = ETrue;
-                            }                        
                         }
                     iCurrentCountryCode = countryCode; 
                     }                
@@ -256,20 +249,6 @@
     return iRoamingStatus;
     }
 
-
-TBool CMPMRoamingWatcher::AskCellularDataUsageAbroad() const
-    {
-    MPMLOGSTRING2( "CMPMRoamingWatcher::AskCellularDataUsageAbroad iAskCellularDataUsageAbroad: %d", iAskCellularDataUsageAbroad )
-    return iAskCellularDataUsageAbroad;
-    }
-
-void CMPMRoamingWatcher::SetAskCellularDataUsageAbroad(TBool aAskUsage)
-    {
-    iAskCellularDataUsageAbroad = aAskUsage;
-    MPMLOGSTRING2( "CMPMRoamingWatcher::SetAskCellularDataUsageAbroad iAskCellularDataUsageAbroad: %d", iAskCellularDataUsageAbroad )
-    }
-
-
 // ========================== OTHER EXPORTED FUNCTIONS =========================
 // None.