MTextReaderInput Class Reference

#include <textreaderinput.h>

class MTextReaderInput
Public Member Functions
pure virtual TInt AppendAudioL(TInt, const RFile &)
pure virtual TInt AppendGroupL()
pure virtual TInt AppendPauseL(TInt, TTimeIntervalMicroSeconds)
pure virtual TInt AppendTextL(TInt, const TDesC &, const TTtsStyle *)
pure virtual TInt AppendToneL(TInt, TTimeIntervalMicroSeconds, TInt)
pure virtual voidRemoveGroupL(TInt)
pure virtual voidReplaceItemAudioL(TInt, TInt, const RFile &)
pure virtual voidReplaceItemPauseL(TInt, TInt, TTimeIntervalMicroSeconds)
pure virtual voidReplaceItemTextL(TInt, TInt, const TDesC &, const TTtsStyle *)
pure virtual voidReplaceItemToneL(TInt, TInt, TTimeIntervalMicroSeconds, TInt)
pure virtual voidResetGroupL(TInt)

Detailed Description

Interface definition for giving input for a text reader

Member Function Documentation

AppendAudioL ( TInt, const RFile & )

TInt AppendAudioL(TIntaGroupId,
const RFile &aFile
)[pure virtual]

Append audio item to group

Parameters
aGroupIdIdentifier for group
aFileFile handle to the audio file
Return Value
Identifier for appended item inside group

AppendGroupL ( )

TInt AppendGroupL()[pure virtual]

Append a group to queue

Return Value
Id of a created group

AppendPauseL ( TInt, TTimeIntervalMicroSeconds )

TInt AppendPauseL(TIntaGroupId,
TTimeIntervalMicroSecondsaDuration
)[pure virtual]

Append pause item to group

Parameters
aGroupIdIdentifier for group
aDurationDuration of pause
Return Value
Identifier for appended item inside group

AppendTextL ( TInt, const TDesC &, const TTtsStyle * )

TInt AppendTextL(TIntaGroupId,
const TDesC &aText,
const TTtsStyle *aStyle
)[pure virtual]

Append text item to group

Parameters
aGroupIdIdentifier for group
aTextText to be added (copied)
aStyleSynthesis settings, ownership stays in client
Return Value
Identifier for appended item inside group

AppendToneL ( TInt, TTimeIntervalMicroSeconds, TInt )

TInt AppendToneL(TIntaGroupId,
TTimeIntervalMicroSecondsaDuration,
TIntaFrequency
)[pure virtual]

Append tone item to group

Parameters
aGroupIdIdentifier for group
aDurationDuration of tone
aFrequencyFrequency of tone
Return Value
Identifier for appended item inside group

RemoveGroupL ( TInt )

voidRemoveGroupL(TIntaGroupId)[pure virtual]

Deletes a group from queue

Parameters
aGroupIdId of deleted group

ReplaceItemAudioL ( TInt, TInt, const RFile & )

voidReplaceItemAudioL(TIntaGroupId,
TIntaItemId,
const RFile &aFile
)[pure virtual]

Replace existing item with an audio item

Parameters
aGroupIdIdentifier for group
aItemIdIdentifier for item inside a group
aFileFile handle to the audio file

ReplaceItemPauseL ( TInt, TInt, TTimeIntervalMicroSeconds )

voidReplaceItemPauseL(TIntaGroupId,
TIntaItemId,
TTimeIntervalMicroSecondsaDuration
)[pure virtual]

Replace existing item with a pause item

Parameters
aGroupIdIdentifier for group
aItemIdIdentifier for item inside a group
aDurationDuration of pause

ReplaceItemTextL ( TInt, TInt, const TDesC &, const TTtsStyle * )

voidReplaceItemTextL(TIntaGroupId,
TIntaItemId,
const TDesC &aText,
const TTtsStyle *aStyle
)[pure virtual]

Replace existing item with a text item

Parameters
aGroupIdIdentifier for group
aItemIdIdentifier for item inside a group
aTextText to be added (copied)
aStyleSynthesis settings, ownership stays in client

ReplaceItemToneL ( TInt, TInt, TTimeIntervalMicroSeconds, TInt )

voidReplaceItemToneL(TIntaGroupId,
TIntaItemId,
TTimeIntervalMicroSecondsaDuration,
TIntaFrequency
)[pure virtual]

Replace existing item with a tone item

Parameters
aGroupIdIdentifier for group
aItemIdIdentifier for item inside a group
aDurationDuration of tone
aFrequencyFrequency of tone

ResetGroupL ( TInt )

voidResetGroupL(TIntaGroupId)[pure virtual]

Resets a group, ie. removes all items it has.

Parameters
aGroupIdId of group to be resetted