equal
deleted
inserted
replaced
425 aDevicePropertyType, |
425 aDevicePropertyType, |
426 iReqData ); |
426 iReqData ); |
427 |
427 |
428 // send command to haptics server |
428 // send command to haptics server |
429 if ( KErrNone == err ) |
429 if ( KErrNone == err ) |
430 { |
430 { |
431 if( aDevicePropertyType == EHWRMHapticsLicensekey ) |
431 err = iClient.ExecuteOperation( |
432 { |
|
433 err = iClient.ExecuteOperation( |
|
434 EHWRMHapticsSetLicenseProp, |
432 EHWRMHapticsSetLicenseProp, |
435 TIpcArgs( &iReqData, aDevicePropertyValue.Length() ) ); |
433 TIpcArgs( &iReqData, aDevicePropertyValue.Length() ) ); |
436 } |
434 } |
437 else |
|
438 { |
|
439 err = iClient.ExecuteOperation( EHWRMHaptics, |
|
440 TIpcArgs( &iReqData ) ); |
|
441 } |
|
442 } |
|
443 |
|
444 } |
435 } |
445 |
436 |
446 API_TRACE( ( _L( "CHWRMHapticsImpl::SetDeviceProperty() - const TDesC8 overloaded - return %d" ), err ) ); |
437 API_TRACE( ( _L( "CHWRMHapticsImpl::SetDeviceProperty() - const TDesC8 overloaded - return %d" ), err ) ); |
447 |
438 |
448 return err; |
439 return err; |