MCoeView Class Reference

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 TVwsViewIdAndMessageViewScreenDeviceChangedL()
IMPORT_C TBoolViewScreenModeCompatible(TInt)
Private Member Functions
IMPORT_C voidMCoeView_Reserved_2()
IMPORT_C voidMCoeView_Reserved_3()
IMPORT_C voidPrepareForViewActivation()
voidViewActivatedL(const TVwsViewId &, TUid, const TDesC8 &)
IMPORT_C voidViewConstructL()
voidViewDeactivated()
Private Attributes
TInt iMCoeView_Reserved1

Constructor & Destructor Documentation

MCoeView()

IMPORT_CMCoeView()[protected]

Member Functions Documentation

MCoeView_Reserved_2()

IMPORT_C voidMCoeView_Reserved_2()[private, virtual]

MCoeView_Reserved_3()

IMPORT_C voidMCoeView_Reserved_3()[private, virtual]

PrepareForViewActivation()

IMPORT_C voidPrepareForViewActivation()[private, virtual]

ViewActivatedL(const TVwsViewId &, TUid, const TDesC8 &)

voidViewActivatedL(const TVwsViewId &aPrevViewId,
TUidaCustomMessageId,
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.

Parameters

const TVwsViewId & aPrevViewIdThe UID of the previously active view.
TUid aCustomMessageIdMessage type.
const TDesC8 & aCustomMessageMessage contents.

ViewConstructL()

IMPORT_C voidViewConstructL()[private, virtual]

ViewDeactivated()

voidViewDeactivated()[private, pure virtual]

Takes any action that is required following deactivation of the view.

This reduces the work required of the window server.

ViewId()

TVwsViewId ViewId()const [pure virtual]

Returns a TVwsViewId uniquely identifying the view.

Represents a view in the server.

ViewScreenDeviceChangedL()

IMPORT_C TVwsViewIdAndMessageViewScreenDeviceChangedL()[protected, virtual]

ViewScreenModeCompatible(TInt)

IMPORT_C TBoolViewScreenModeCompatible(TIntaScreenMode)[protected, virtual]

Parameters

TInt aScreenMode

Member Data Documentation

TInt iMCoeView_Reserved1

TInt iMCoeView_Reserved1[private]