appinstall_plat/sifui_api/src/sifuiprivate.cpp
changeset 72 a0dc14075813
parent 67 3a625661d1ce
equal deleted inserted replaced
67:3a625661d1ce 72:a0dc14075813
   362         }
   362         }
   363     return( iDialogReturnValue == KErrNone );
   363     return( iDialogReturnValue == KErrNone );
   364     }
   364     }
   365 
   365 
   366 // ---------------------------------------------------------------------------
   366 // ---------------------------------------------------------------------------
       
   367 // CSifUiPrivate::ShowSelectOptionsL()
       
   368 // ---------------------------------------------------------------------------
       
   369 //
       
   370 void CSifUiPrivate::CancelDialogs()
       
   371     {
       
   372     Cancel();
       
   373     ClearParams();
       
   374     }
       
   375 
       
   376 // ---------------------------------------------------------------------------
   367 // CSifUiPrivate::DoCancel()
   377 // CSifUiPrivate::DoCancel()
   368 // ---------------------------------------------------------------------------
   378 // ---------------------------------------------------------------------------
   369 //
   379 //
   370 void CSifUiPrivate::DoCancel()
   380 void CSifUiPrivate::DoCancel()
   371     {
   381     {
   372     FLOG( _L("CSifUiPrivate::DoCancel") );
   382     FLOG( _L("CSifUiPrivate::DoCancel") );
   373     if( iDeviceDialog )
   383     if( iDeviceDialog )
   374         {
   384         {
   375         iDeviceDialog->Cancel();        // Closes the device dialog.
   385         iDeviceDialog->Cancel();        // Closes the device dialog.
   376         }
   386         }
       
   387     iDialogReturnValue = KErrCancel;
   377 
   388 
   378     // Cancelled device dialog does not call DeviceDialogClosed() hence have
   389     // Cancelled device dialog does not call DeviceDialogClosed() hence have
   379     // to complete the request now. CActive::Cancel() waits until the request
   390     // to complete the request now. CActive::Cancel() waits until the request
   380     // is completed.
   391     // is completed.
   381     TRequestStatus* status( &iStatus );
   392     TRequestStatus* status( &iStatus );