hwrmhaptics/hapticsclient/src/hwrmhapticsimpl.cpp
changeset 41 c87e5f80c17d
parent 0 4e1aa6a622a0
child 61 8cb079868133
equal deleted inserted replaced
35:f7565e9c9ce8 41:c87e5f80c17d
   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;