#include <mw/eikccpu.h>
| class CAknCcpuSupport : public CAknControl |
| Public Member Functions | |
|---|---|
| CAknCcpuSupport(MEikCcpuEditor *) | |
| ~CAknCcpuSupport() | |
| IMPORT_C void | ConstructL() |
| IMPORT_C void | DynInitMenuPaneL(TInt, CEikMenuPane *) |
| IMPORT_C void | HandleFocusChangeL() |
| virtual IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
| IMPORT_C void | HandleSelectionChangeL() |
| virtual IMPORT_C TKeyResponse | OfferKeyEventL(const TKeyEvent &, TEventCode) |
| IMPORT_C void | ProcessCommandL(TInt) |
| Inherited Attributes | |
|---|---|
| CCoeControl::iCoeEnv | |
| CCoeControl::iContext | |
| CCoeControl::iPosition | |
| CCoeControl::iSize | |
| Inherited Enumerations | |
|---|---|
| CCoeControl:TZoomType | |
Cut, copy, paste and undo support class. Takes care of CBA handling and menu command processing when FEP instructs this control to activate the commands for ccpu operations.
| IMPORT_C | CAknCcpuSupport | ( | MEikCcpuEditor * | aEditor | ) |
Constructor. ConstructL() must be called after a call to this function.
| Parameter | Description |
|---|---|
| aEditor | A pointer to the editor implementing the MEikCcpuEditor interface. |
| IMPORT_C void | ConstructL | ( | ) |
2nd phase constructor.
Adds this control to the control stack.
| IMPORT_C void | DynInitMenuPaneL | ( | TInt | aResourceId, |
| CEikMenuPane * | aMenuPane | |||
| ) | ||||
From MEikMenuObserver.
Dynamically initialises a menu pane.
| Parameter | Description |
|---|---|
| aResourceId | Resource ID of the menu. |
| aMenuPane | The in-memory representation of the menu pane. |
| IMPORT_C void | HandleFocusChangeL | ( | ) |
Updates the CBA labels according to editor focus state.
| IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Reimplemented from CCoeControl::HandlePointerEventL(const TPointerEvent &)
From CCoeControl.
Handles pointer events.
| Parameter | Description |
|---|---|
| aPointerEvent | The pointer event. |
| IMPORT_C void | HandleSelectionChangeL | ( | ) |
Updates the CBA labels according to selection and clipboard contents.
| IMPORT_C TKeyResponse | OfferKeyEventL | ( | const TKeyEvent & | aKeyEvent, |
| TEventCode | aType | |||
| ) | [virtual] | |||
Reimplemented from CCoeControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
Responds to key presses.
Overrides CCoeControl::OfferKeyEventL().
| Parameter | Description |
|---|---|
| aKeyEvent | The key event. |
| aType | Not used. |
Returns: Indicates whether or not the key event was consumed.
| IMPORT_C void | ProcessCommandL | ( | TInt | aCommandId | ) |
From MEikCommandObserver.
Processes user commands.
| Parameter | Description |
|---|---|
| aCommandId | ID of the command to respond to. |