| class CMMFCustomCommandParserManager : public CBase |
Class to manage custom command parsers.
An object of this type is owned by the controller framework to contain all the custom command parsers for the controller plugin.
7.0s
| Public Member Functions | |
|---|---|
| ~CMMFCustomCommandParserManager() | |
| IMPORT_C void | AddCustomCommandParserL(CMMFCustomCommandParserBase &) |
| IMPORT_C TBool | HandleRequest(TMMFMessage &) |
| IMPORT_C CMMFCustomCommandParserManager * | NewL() |
| Private Member Functions | |
|---|---|
| CMMFCustomCommandParserManager() | |
| Private Attributes | |
|---|---|
| RPointerArray< CMMFCustomCommandParserBase > | iParsers |
| IMPORT_C | ~CMMFCustomCommandParserManager | ( | ) |
Destructor.
Deletes all custom command parsers added to the manager.
7.0s
| IMPORT_C void | AddCustomCommandParserL | ( | CMMFCustomCommandParserBase & | aParser | ) |
Adds a custom command parser to the manager. The manager takes ownership of the parser.
Note: This method will leave if it fails to add the parser. If it does leave, ownership of the parser will remain with the caller.
7.0s
| CMMFCustomCommandParserBase & aParser | A reference to the parser to be added to the manager. |
| IMPORT_C TBool | HandleRequest | ( | TMMFMessage & | aMessage | ) |
Attempts to find a custom command parser capable of handling the message.
A boolean indicating in the message has been handled. ETrue if the message has been handled, EFalse if it has not.
7.0s
| TMMFMessage & aMessage | The message to be handled. |
| IMPORT_C CMMFCustomCommandParserManager * | NewL | ( | ) | [static] |
Factory constructor.
A pointer to the newly created object.
7.0s
| RPointerArray< CMMFCustomCommandParserBase > | iParsers | [private] |
The array of custom command parsers.