nwnotifier/src/nwregistrationstatusmonitor.cpp
branchRCL_3
changeset 40 c58fd5f0c240
parent 8 1b9ee3c7442d
equal deleted inserted replaced
30:13725ba12484 40:c58fd5f0c240
    19 //  INCLUDE FILES
    19 //  INCLUDE FILES
    20 #include "nwregistrationstatusmonitor.h"
    20 #include "nwregistrationstatusmonitor.h"
    21 // System 
    21 // System 
    22 #include <exterror.h>
    22 #include <exterror.h>
    23 #include <mmtsy_names.h> // KMmTsyModuleName
    23 #include <mmtsy_names.h> // KMmTsyModuleName
       
    24 #include <etelmmerr.h>
    24 
    25 
    25 // ================= MEMBER FUNCTIONS =======================================
    26 // ================= MEMBER FUNCTIONS =======================================
    26 
    27 
    27 // -----------------------------------------------------------------------------
    28 // -----------------------------------------------------------------------------
    28 // CNWRegistrationStatusMonitor::CNWRegistrationStatusMonitor
    29 // CNWRegistrationStatusMonitor::CNWRegistrationStatusMonitor
   221         case KErrGsmMMIllegalMe:
   222         case KErrGsmMMIllegalMe:
   222             {
   223             {
   223             iResID = R_PHONE_NOT_ALLOW_MM6;
   224             iResID = R_PHONE_NOT_ALLOW_MM6;
   224             RDebug::Print( _L("NW: CNWRegistrationStatusMonitor::ParseErrCode() : R_PHONE_NOT_ALLOW_MM6") );
   225             RDebug::Print( _L("NW: CNWRegistrationStatusMonitor::ParseErrCode() : R_PHONE_NOT_ALLOW_MM6") );
   225             break;
   226             break;
       
   227             }  
       
   228         case KErrMMEtelAuthenticateFailed:
       
   229             {
       
   230             RDebug::Print( _L("NW: CNWRegistrationStatusMonitor::ParseErrCode() : R_SIM_NOT_ALLOW") );
       
   231             iResID = R_SIM_NOT_ALLOW;
       
   232             break;  
   226             }
   233             }
   227         default:
   234         default:
   228             {
   235             break;
   229             case KErrGeneral:
       
   230                 {
       
   231                 RDebug::Print( _L("NW: CNWRegistrationStatusMonitor::ParseErrCode() : R_SIM_NOT_ALLOW") );
       
   232                 iResID = R_SIM_NOT_ALLOW;
       
   233                 break;  
       
   234                 }
       
   235             }
       
   236         }
   236         }
   237     }
   237     }
   238 
   238 
   239 
   239 
   240 // -----------------------------------------------------------------------------
   240 // -----------------------------------------------------------------------------