equal
deleted
inserted
replaced
54 { |
54 { |
55 if ( aEventType == UpnpCommand::EEventComplete ) |
55 if ( aEventType == UpnpCommand::EEventComplete ) |
56 { |
56 { |
57 iObserver->CommandComplete( aStatusCode ); |
57 iObserver->CommandComplete( aStatusCode ); |
58 } |
58 } |
59 else if ( aEventType == UpnpCommand::EEventProgress && aStatusCode > 0 ) |
59 else if ( aEventType == UpnpCommand::EEventProgress |
|
60 && aStatusCode > 0 ) |
60 { |
61 { |
61 // Convert progress events to CommandComplete methods of the observer |
62 // Convert progress events to CommandComplete methods of the observer |
62 // ONLY if the progress code is a positive value. Therefore it does not |
63 // ONLY if the progress code is a positive value. Therefore it does not |
63 // get mixed up with real CommandComplete notifications with either |
64 // get mixed up with real CommandComplete notifications with either |
64 // KErrNone or an error value. |
65 // KErrNone or an error value. |