contentstorage/srvsrc/cainstallnotifier.cpp
changeset 127 7b66bc3c6dc9
parent 119 50e220be30d1
equal deleted inserted replaced
126:efda7c0771b9 127:7b66bc3c6dc9
    44 {
    44 {
    45     iNotifier = CSifOperationsNotifier::NewL( *this );
    45     iNotifier = CSifOperationsNotifier::NewL( *this );
    46     iNotificationType = aNotificationType;
    46     iNotificationType = aNotificationType;
    47 }
    47 }
    48 
    48 
    49 void CCaInstallNotifier::EndOperationHandler(const CSifOperationEndData& aEndData)
    49 void CCaInstallNotifier::EndOperationHandler(
       
    50         const CSifOperationEndData& aEndData )
    50 {
    51 {
    51     TRAP_IGNORE
    52     TRAP_IGNORE
    52         (
    53         (
    53         if( aEndData.ErrorCode() == KErrNone )
    54         if( aEndData.ErrorCode() == KErrNone )
    54             {
    55             {
    57         iNotifier->CancelSubscribeL( iKey );
    58         iNotifier->CancelSubscribeL( iKey );
    58         )
    59         )
    59 }
    60 }
    60 
    61 
    61 void CCaInstallNotifier::ProgressOperationHandler(
    62 void CCaInstallNotifier::ProgressOperationHandler(
    62         const CSifOperationProgressData& /*aProgressData*/)
    63         const CSifOperationProgressData& /*aProgressData*/ )
    63 {
    64 {
    64 }
    65 }
    65 
    66 
    66 void CCaInstallNotifier::StartOperationHandler(
    67 void CCaInstallNotifier::StartOperationHandler(
    67         TUint aKey, const CSifOperationStartData& aStartData)
    68         TUint aKey, const CSifOperationStartData& aStartData )
    68 {
    69 {
    69     TRAP_IGNORE
    70     TRAP_IGNORE
    70         (
    71         (
    71         if( iNotificationType == EAllTypesNotification )
    72         if( iNotificationType == EAllTypesNotification )
    72             {
    73             {