upnpframework/upnpcommand/src/upnpcommandcallbackadapter.cpp
branchnew development branch with rendering state machine and other goodies
changeset 38 5360b7ddc251
parent 0 7f85d04be362
equal deleted inserted replaced
32:3785f754ee62 38:5360b7ddc251
    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.