bearermanagement/mpm/src/mpmconfirmdlg.cpp
branchRCL_3
changeset 19 22c3c67e5001
parent 0 5a93021fdf25
child 71 9f263f780e41
equal deleted inserted replaced
17:c14618f9de99 19:22c3c67e5001
    84     {
    84     {
    85     //  Start the dialog if previous dialog does not exist: !aDlg
    85     //  Start the dialog if previous dialog does not exist: !aDlg
    86     //  OR
    86     //  OR
    87     //  if ConfirmDlgResponse is not accepted by the iConfirmDlgUser.
    87     //  if ConfirmDlgResponse is not accepted by the iConfirmDlgUser.
    88     //
    88     //
    89     if ( !aDlg || !iConfirmDlgUser.ConfirmDlgResponse( &((CMPMConfirmDlg*)aDlg)->iConfirmDlgUser ) )
    89     if ( !aDlg || !iConfirmDlgUser.ConfirmDlgResponse( 
       
    90                                    &((CMPMConfirmDlg*)aDlg)->iConfirmDlgUser ) )
    90         {
    91         {
    91         MPMLOGSTRING3( "CMPMConfirmDlg::Start Display dialog: SNAP %d, IAP %d", 
    92         MPMLOGSTRING3( "CMPMConfirmDlg::Start Display dialog: SNAP %d, IAP %d", 
    92                        iSnapId, iIAP )
    93                        iSnapId, iIAP )
    93 
    94 
    94         switch ( iDialogType )
    95         switch ( iDialogType )
    95             {
    96             {
    96             case EConfirmDlgHomeNetwork:
    97             case EConfirmDlgHomeNetwork:
    97                 {                
    98                 {                
    98                 MPMLOGSTRING( "    normal confirm dialog" )
    99                 MPMLOGSTRING( "    Show home network confirm dialog" )
    99                 iUtils->ConfirmMethodUsageQuery( iResult,
   100                 iUtils->ConfirmMethodUsageQuery( iResult,
   100                                                  true,
   101                                                  true,
   101                                                  iStatus);
   102                                                  iStatus);
   102                 break;
   103                 break;
   103                 }
   104                 }
   104                 
   105                 
   105             case EConfirmDlgVisitorNetwork:
   106             case EConfirmDlgVisitorNetwork:
   106                 {
   107                 {
   107                 MPMLOGSTRING( "    normal confirm dialog" )
   108                 MPMLOGSTRING( "    Show visitor network confirm dialog" )
   108                 iUtils->ConfirmMethodUsageQuery( iResult,
   109                 iUtils->ConfirmMethodUsageQuery( iResult,
   109                                                  false,
   110                                                  false,
   110                                                  iStatus);
   111                                                  iStatus);
   111                 break;
   112                 break;
   112                 }
   113                 }