class MDisplayControl : public MDisplayControlBase |
Window Server client interface for display control.
All functions in MDisplayControlBase will automatically flush the client-server session buffer as part of their behavior.
Setting the display configuration successfully shall cause the screen mode index to change to one of the last two entries (dependent on rotation) and that mode's size information shall be updated as necessary.
Public Member Functions | |
---|---|
TBool | DisplayChangeEventsEnabled() |
void | EnableDisplayChangeEvents(TBool) |
Public Member Enumerations | |
---|---|
enum | anonymous { KUidDisplayControl = 0x10286499, ETypeId = KUidDisplayControl } |
TBool | DisplayChangeEventsEnabled | ( | ) | const [pure virtual] |
Returns whether changes in the display will trigger an EEventDisplayChanged event to be issued.
Events will be triggered configuration changes that have taken place on the display, when a display has been connected / disconnected (if it can be detected), and when the available resolutions change.
This function always causes a flush of the window server buffer.
void | EnableDisplayChangeEvents | ( | TBool | aEnable | ) | [pure virtual] |
Determines whether changes in the display will trigger an EEventDisplayChanged event to be issued.
TBool aEnable | ETrue to enable display change events, EFalse to disable them |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.