#include <app/msgbiocontrolObserver.h>
class MMsgBioControlObserver |
Public Member Enumerations | |
---|---|
enum | TMsgCommands { EMsgNone, EMsgSave, EMsgReply, EMsgForwad, ..., EMsgClose } |
Public Member Functions | |
---|---|
pure virtual TInt | FirstFreeCommand() |
pure virtual TBool | IsCommandSupported(TMsgCommands) |
pure virtual TInt | RequestHandleCommandL(TMsgCommands) |
Interface for Bio Control Observer. The MMsgBioControlObserver is used for observing the Bio Control from the editor application.
TInt | FirstFreeCommand | ( | ) | const [pure virtual] |
Returns the first free command id that a BIO control can use for its own purposes. All the commands having ids of more or equal to an id returned by this function are passed to the BIO control.
Returns: First free command.
TBool | IsCommandSupported | ( | TMsgCommands | aCommand | ) | const [pure virtual] |
Returns ETrue or EFalse whether a requested aCommand is supported by the BIO message editor or not. This command should be used before requesting command handling by RequestHandleCommand().
Parameter | Description |
---|---|
aCommand | The command |
Returns: ETrue if command is support and EFalse if not.
TInt | RequestHandleCommandL | ( | TMsgCommands | aCommand | ) | [pure virtual] |
Requests the BIO message editor/viewer to handle a command. Typically the BIO message editor/viewer does not handle a requested command immediately but after the BIO control has returned from the HandleCommandL function.
Parameter | Description |
---|---|
aCommand | The command that can be handled. |
Returns: KerrNone or KerrNotSupported