Location:
coeview.h
Link against: cone.lib
class MCoeView;
Specifies an interface for views.
This class should be implemented by all application views.
Defined in MCoeView
:
MCoeView()
, MCoeView_Reserved_2()
, MCoeView_Reserved_3()
, PrepareForViewActivation()
, ViewActivatedL()
, ViewConstructL()
, ViewDeactivated()
, ViewId()
, ViewScreenDeviceChangedL()
, ViewScreenModeCompatible()
virtual TVwsViewId ViewId() const=0;
Returns a TVwsViewId
uniquely identifying the view.
|
private: virtual void ViewActivatedL(const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage)=0;
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.
|
private: virtual void ViewDeactivated()=0;
Takes any action that is required following deactivation of the view.
This reduces the work required of the window server.
protected: virtual IMPORT_C TVwsViewIdAndMessage ViewScreenDeviceChangedL();
Handles a change to the screen device returning the value of the TVwsViewIdAndMessage
object that describes what the view arcitecture should do next. Returns the id of the active view by default.
|
private: virtual IMPORT_C void ViewConstructL();
Constructs the view. The view architecture can construct registered views in the background or on first activation. Empty by default.
protected: virtual IMPORT_C TBool ViewScreenModeCompatible(TInt aScreenMode);
By default, Views are compatible with all screen modes.
|
|
private: virtual IMPORT_C void PrepareForViewActivation();
Checks whether the view being activated has the preferred screen mode or not. Empty by default.
private: virtual IMPORT_C void MCoeView_Reserved_3();