mobilemessaging/mmsui/notmtmsrc/NotMtmUi.cpp
branchRCL_3
changeset 18 a9c7e5670d17
parent 2 0bf1d54f37d9
equal deleted inserted replaced
17:caea42e26caa 18:a9c7e5670d17
  1272             }
  1272             }
  1273         else
  1273         else
  1274             {
  1274             {
  1275             deleteMode = EMmsDeleteNotificationOnly;
  1275             deleteMode = EMmsDeleteNotificationOnly;
  1276             }
  1276             }
  1277         CAknQueryDialog* dlg = CAknQueryDialog::NewL();
  1277         }
  1278         HBufC* prompt;
  1278         
  1279         if( iFlags & EDeletingMany )
       
  1280             {
       
  1281             prompt = StringLoader::LoadLC( R_NOTMTM_QUEST_DELETE_MESSAGES, aSelection.Count(), iCoeEnv );
       
  1282             }
       
  1283         else
       
  1284             {
       
  1285             prompt = StringLoader::LoadLC( R_NOTMTM_QUEST_DELETE_MESSAGE, iCoeEnv );
       
  1286             }
       
  1287         // Lets prompt the question
       
  1288         TInt retVal = dlg->ExecuteLD( R_NOTUI_CONFIRMATION_QUERY, *prompt );
       
  1289         CleanupStack::PopAndDestroy( prompt );
       
  1290 
       
  1291         if( !retVal )
       
  1292             { // Answered NO
       
  1293             return msvoperation; // Return NULL operation
       
  1294             }
       
  1295         }
       
  1296     if( deleteMode == -1 )
  1279     if( deleteMode == -1 )
  1297         {   // For some reason deleteMode was not set
  1280         {   // For some reason deleteMode was not set
  1298         return msvoperation; // Return NULL operation
  1281         return msvoperation; // Return NULL operation
  1299         }
  1282         }
  1300 	if( iFlags & EDeletingFromMMBox )
  1283 	if( iFlags & EDeletingFromMMBox )