#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 void | RemoveGroupL(TInt) |
pure virtual void | ReplaceItemAudioL(TInt, TInt, const RFile &) |
pure virtual void | ReplaceItemPauseL(TInt, TInt, TTimeIntervalMicroSeconds) |
pure virtual void | ReplaceItemTextL(TInt, TInt, const TDesC &, const TTtsStyle *) |
pure virtual void | ReplaceItemToneL(TInt, TInt, TTimeIntervalMicroSeconds, TInt) |
pure virtual void | ResetGroupL(TInt) |
Interface definition for giving input for a text reader
TInt | AppendPauseL | ( | TInt | aGroupId, |
TTimeIntervalMicroSeconds | aDuration | |||
) | [pure virtual] |
Append pause item to group
Parameters | |
---|---|
aGroupId | Identifier for group |
aDuration | Duration of pause |
TInt | AppendToneL | ( | TInt | aGroupId, |
TTimeIntervalMicroSeconds | aDuration, | |||
TInt | aFrequency | |||
) | [pure virtual] |
Append tone item to group
Parameters | |
---|---|
aGroupId | Identifier for group |
aDuration | Duration of tone |
aFrequency | Frequency of tone |
void | RemoveGroupL | ( | TInt | aGroupId | ) | [pure virtual] |
Deletes a group from queue
Parameters | |
---|---|
aGroupId | Id of deleted group |
void | ReplaceItemPauseL | ( | TInt | aGroupId, |
TInt | aItemId, | |||
TTimeIntervalMicroSeconds | aDuration | |||
) | [pure virtual] |
Replace existing item with a pause item
Parameters | |
---|---|
aGroupId | Identifier for group |
aItemId | Identifier for item inside a group |
aDuration | Duration of pause |
void | ReplaceItemTextL | ( | TInt | aGroupId, |
TInt | aItemId, | |||
const TDesC & | aText, | |||
const TTtsStyle * | aStyle | |||
) | [pure virtual] |
Replace existing item with a text item
Parameters | |
---|---|
aGroupId | Identifier for group |
aItemId | Identifier for item inside a group |
aText | Text to be added (copied) |
aStyle | Synthesis settings, ownership stays in client |
void | ReplaceItemToneL | ( | TInt | aGroupId, |
TInt | aItemId, | |||
TTimeIntervalMicroSeconds | aDuration, | |||
TInt | aFrequency | |||
) | [pure virtual] |
Replace existing item with a tone item
Parameters | |
---|---|
aGroupId | Identifier for group |
aItemId | Identifier for item inside a group |
aDuration | Duration of tone |
aFrequency | Frequency of tone |
void | ResetGroupL | ( | TInt | aGroupId | ) | [pure virtual] |
Resets a group, ie. removes all items it has.
Parameters | |
---|---|
aGroupId | Id of group to be resetted |