hwrmhaptics/hapticsclient/src/hwrmhapticssession.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
    59 
    59 
    60     // Create proper service on server side. i.e. initialize
    60     // Create proper service on server side. i.e. initialize
    61     // server components
    61     // server components
    62     if ( err == KErrNone )
    62     if ( err == KErrNone )
    63         {
    63         {
    64 		aStatus = KRequestPending;
       
    65         SendReceive( EHWRMHapticsService, aStatus );
    64         SendReceive( EHWRMHapticsService, aStatus );
    66         }
    65         }
    67     else
    66     else
    68         {
    67         {
    69         TRequestStatus* status = &aStatus;
    68         TRequestStatus* status = &aStatus;
   114                                             TInt aCommand, 
   113                                             TInt aCommand, 
   115                                             const TIpcArgs& aArgs, 
   114                                             const TIpcArgs& aArgs, 
   116                                             TRequestStatus& aStatus ) const
   115                                             TRequestStatus& aStatus ) const
   117     {
   116     {
   118     COMPONENT_TRACE( ( _L( "RHWRMHapticsSession::ExecuteAsyncOperation - commandId(%d), aStatus(%d)" ), aCommand, aStatus.Int() ) );
   117     COMPONENT_TRACE( ( _L( "RHWRMHapticsSession::ExecuteAsyncOperation - commandId(%d), aStatus(%d)" ), aCommand, aStatus.Int() ) );
   119 
   118     
   120     aStatus = KRequestPending;
       
   121 
       
   122     SendReceive( aCommand, aArgs, aStatus );
   119     SendReceive( aCommand, aArgs, aStatus );
   123     
   120     
   124     COMPONENT_TRACE( ( _L( "RHWRMHapticsSession::ExecuteAsyncOperation - return" ) ) );
   121     COMPONENT_TRACE( ( _L( "RHWRMHapticsSession::ExecuteAsyncOperation - return" ) ) );
   125     }
   122     }
   126     
   123