equal
deleted
inserted
replaced
144 |
144 |
145 // ----------------------------------------------------------------------------- |
145 // ----------------------------------------------------------------------------- |
146 // |
146 // |
147 // ----------------------------------------------------------------------------- |
147 // ----------------------------------------------------------------------------- |
148 // |
148 // |
149 void RCPServerClient::ExecuteActionL( const CCPLiwMap& aMap ) |
149 void RCPServerClient::ExecuteActionL( const CCPLiwMap& aMap, TUint aOptions ) |
150 { |
150 { |
151 CP_DEBUG( _L8("RCPServerClient::ExecuteActionL()") ); |
151 CP_DEBUG( _L8("RCPServerClient::ExecuteActionL()") ); |
152 HBufC8 *inbuf = aMap.PackForServerLC( ); |
152 HBufC8 *inbuf = aMap.PackForServerLC( ); |
153 TIpcArgs args; |
153 TIpcArgs args; |
154 args.Set( KDescriptorPosition, &*inbuf ); |
154 args.Set( KDescriptorPosition, &*inbuf ); |
|
155 args.Set( KOptionsPosition, static_cast<TInt>( aOptions ) ); |
155 User::LeaveIfError( SendReceive( ECpServerExecuteAction, args ) ); |
156 User::LeaveIfError( SendReceive( ECpServerExecuteAction, args ) ); |
156 CleanupStack::PopAndDestroy( inbuf ); |
157 CleanupStack::PopAndDestroy( inbuf ); |
157 } |
158 } |
158 |
159 |
159 // ----------------------------------------------------------------------------- |
160 // ----------------------------------------------------------------------------- |