equal
deleted
inserted
replaced
425 aMessage.ReadData1FromClientL( intPtrPckg ); |
425 aMessage.ReadData1FromClientL( intPtrPckg ); |
426 |
426 |
427 TInt* languageCount = intPtrPckg(); |
427 TInt* languageCount = intPtrPckg(); |
428 |
428 |
429 RArray<TLanguage> languages; |
429 RArray<TLanguage> languages; |
|
430 CleanupClosePushL( languages ); |
430 iImplementor.MttscGetSupportedLanguagesL( languages ); |
431 iImplementor.MttscGetSupportedLanguagesL( languages ); |
431 *languageCount = languages.Count(); |
432 *languageCount = languages.Count(); |
432 |
433 |
433 languages.Close(); |
434 CleanupStack::PopAndDestroy(); |
434 } |
435 } |
435 |
436 |
436 // ----------------------------------------------------------------------------- |
437 // ----------------------------------------------------------------------------- |
437 // CTtsCustomCommandParser::DoGetSupportedVoicesL |
438 // CTtsCustomCommandParser::DoGetSupportedVoicesL |
438 // Calls the controller plugin to get the voices of specified language |
439 // Calls the controller plugin to get the voices of specified language |
482 |
483 |
483 TLanguage language = languagePckg(); |
484 TLanguage language = languagePckg(); |
484 TInt* voiceCount = intPtrPckg(); |
485 TInt* voiceCount = intPtrPckg(); |
485 |
486 |
486 RArray<TTtsStyle> voices; |
487 RArray<TTtsStyle> voices; |
|
488 CleanupClosePushL( voices ); |
487 iImplementor.MttscGetSupportedVoicesL( language, voices ); |
489 iImplementor.MttscGetSupportedVoicesL( language, voices ); |
488 *voiceCount = voices.Count(); |
490 *voiceCount = voices.Count(); |
489 |
491 |
490 voices.Close(); |
492 CleanupStack::PopAndDestroy( ); |
491 } |
493 } |
492 // End of File |
494 // End of File |