class MCoeView |
Specifies an interface for views.
This class should be implemented by all application views.
Public Member Functions | |
---|---|
TVwsViewId | ViewId() |
Protected Member Functions | |
---|---|
MCoeView() | |
IMPORT_C TVwsViewIdAndMessage | ViewScreenDeviceChangedL() |
IMPORT_C TBool | ViewScreenModeCompatible(TInt) |
Private Member Functions | |
---|---|
IMPORT_C void | MCoeView_Reserved_2() |
IMPORT_C void | MCoeView_Reserved_3() |
IMPORT_C void | PrepareForViewActivation() |
void | ViewActivatedL(const TVwsViewId &, TUid, const TDesC8 &) |
IMPORT_C void | ViewConstructL() |
void | ViewDeactivated() |
Private Attributes | |
---|---|
TInt | iMCoeView_Reserved1 |
void | ViewActivatedL | ( | const TVwsViewId & | aPrevViewId, |
TUid | aCustomMessageId, | |||
const TDesC8 & | aCustomMessage | |||
) | [private, pure virtual] |
Takes any action required when a view is activated. Reimplemented versions should read the contents of aCustomMessage for any message type identified by aCustomMessageId that the view understands.
The ID of the previously active view aPrevViewId is supplied so that the activated view can subsequently switch back to the caller if required.
const TVwsViewId & aPrevViewId | The UID of the previously active view. |
TUid aCustomMessageId | Message type. |
const TDesC8 & aCustomMessage | Message contents. |
void | ViewDeactivated | ( | ) | [private, pure virtual] |
Takes any action that is required following deactivation of the view.
This reduces the work required of the window server.
TVwsViewId | ViewId | ( | ) | const [pure virtual] |
Returns a TVwsViewId uniquely identifying the view.
Represents a view in the server.
IMPORT_C TVwsViewIdAndMessage | ViewScreenDeviceChangedL | ( | ) | [protected, virtual] |
IMPORT_C TBool | ViewScreenModeCompatible | ( | TInt | aScreenMode | ) | [protected, virtual] |
TInt aScreenMode |