283 TInt aFunction, |
283 TInt aFunction, |
284 const TDesC8& aDataTo1, |
284 const TDesC8& aDataTo1, |
285 const TDesC8& aDataTo2, |
285 const TDesC8& aDataTo2, |
286 TDes8& aDataFrom) |
286 TDes8& aDataFrom) |
287 { |
287 { |
288 iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2, aDataFrom); |
288 return iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2, aDataFrom); |
289 return KErrNone; |
289 |
290 } |
290 } |
291 |
291 |
292 virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg& aDestination, |
292 virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg& aDestination, |
293 TInt aFunction, |
293 TInt aFunction, |
294 const TDesC8& aDataTo1, |
294 const TDesC8& aDataTo1, |
295 const TDesC8& aDataTo2) |
295 const TDesC8& aDataTo2) |
296 { |
296 { |
297 iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2); |
297 return iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2); |
298 return KErrNone; |
298 |
299 } |
299 } |
300 |
300 |
301 virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination, |
301 virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination, |
302 TInt aFunction, |
302 TInt aFunction, |
303 const TDesC8& aDataTo1, |
303 const TDesC8& aDataTo1, |
333 TInt aFunction, |
333 TInt aFunction, |
334 const TDesC8& aDataTo1, |
334 const TDesC8& aDataTo1, |
335 const TDesC8& aDataTo2, |
335 const TDesC8& aDataTo2, |
336 TDes8& aDataFrom) |
336 TDes8& aDataFrom) |
337 { |
337 { |
338 iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2, aDataFrom); |
338 return iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2, aDataFrom); |
339 return KErrNone; |
339 |
340 } |
340 } |
341 |
341 |
342 virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg& aDestination, |
342 virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg& aDestination, |
343 TInt aFunction, |
343 TInt aFunction, |
344 const TDesC8& aDataTo1, |
344 const TDesC8& aDataTo1, |
345 const TDesC8& aDataTo2) |
345 const TDesC8& aDataTo2) |
346 { |
346 { |
347 iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2); |
347 return iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2); |
348 return KErrNone; |
348 |
349 } |
349 } |
350 |
350 |
351 virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination, |
351 virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination, |
352 TInt aFunction, |
352 TInt aFunction, |
353 const TDesC8& aDataTo1, |
353 const TDesC8& aDataTo1, |
383 TInt aFunction, |
383 TInt aFunction, |
384 const TDesC8& aDataTo1, |
384 const TDesC8& aDataTo1, |
385 const TDesC8& aDataTo2, |
385 const TDesC8& aDataTo2, |
386 TDes8& aDataFrom) |
386 TDes8& aDataFrom) |
387 { |
387 { |
388 iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2, aDataFrom); |
388 return iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2, aDataFrom); |
389 return KErrNone; |
389 } |
390 } |
390 |
391 |
391 virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg& aDestination, |
392 virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg& aDestination, |
392 TInt aFunction, |
393 TInt aFunction, |
393 const TDesC8& aDataTo1, |
394 const TDesC8& aDataTo1, |
394 const TDesC8& aDataTo2) |
395 const TDesC8& aDataTo2) |
395 { |
396 { |
396 return iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2); |
397 iUtility.CustomCommandSync(aDestination, aFunction, aDataTo1, aDataTo2); |
|
398 return KErrNone; |
|
399 } |
397 } |
400 |
398 |
401 virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination, |
399 virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination, |
402 TInt aFunction, |
400 TInt aFunction, |
403 const TDesC8& aDataTo1, |
401 const TDesC8& aDataTo1, |