cryptoservices/certificateandkeymgmt/tcertstore/T_unifiedcertstoreremove.cpp
changeset 8 35751d3474b7
parent 0 2c201484c85f
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    14 * Description: 
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 
       
    20 
       
    21 /**
    19 /**
    22  @file
    20  @file
    23 */
    21 */
    24 
    22 
    25 #include "t_unifiedcertstoreremove.h"
    23 #include "t_unifiedcertstoreremove.h"
    92 			}
    90 			}
    93 			break;
    91 			break;
    94 
    92 
    95  		case ECheckNotification:
    93  		case ECheckNotification:
    96  			{
    94  			{
    97  			TInt ret=KErrNone;
       
    98  			if (!iNotifierFlag)
       
    99  				{
       
   100  				ret=KErrGeneral;
       
   101  				}
       
   102  			iState = EFinished;
    95  			iState = EFinished;
   103  			TRequestStatus* status = &aStatus;
    96  			if (iNotifierFlag)
   104  			User::RequestComplete(status, ret);
    97 	 			{
       
    98  				TRequestStatus* status = &aStatus;
       
    99  				User::RequestComplete(status, KErrNone);
       
   100 	 			}
       
   101 			else
       
   102 				{
       
   103 				iNotifier->SetCompleteStatus(&aStatus);
       
   104 				}			
   105  			}
   105  			}
       
   106 
   106  			break;
   107  			break;
   107 			
   108 
   108 		case EFinished:
   109 		case EFinished:
   109 			{
   110 			{
   110 			if (aStatus == iExpectedResult)
   111 			if (aStatus == iExpectedResult)
   111 				{
   112 				{
   112 				iResult = ETrue;
   113 				iResult = ETrue;