class MAnimGeneralFunctionsWindowExtension |
General Window utility functions interface.
The member functions define the interface for querying and manipulating the window and screen attributes.
You obtain one by calling: iFunctions->ExtendedInterface(MAnimGeneralFunctions::EWindowExtensionInterface) and casting the result.
It is not intended for user derivation.
Public Member Functions | |
---|---|
TInt | FocusScreens() |
TInt | Screens() |
void | SetFocusScreen(TInt) |
TInt | SetOrdinalPosition(TInt, TInt, TInt) |
void | WindowConfig(TWindowConfig &) |
TBool | WindowGroupInfo(TWindowGroupInfo &, TInt, TInt) |
TBool | WindowGroupName(TPtrC &, TInt, TInt) |
TInt | WindowGroups(TInt) |
Private Member Functions | |
---|---|
void | Reserved1() |
void | Reserved2() |
void | Reserved3() |
TInt | FocusScreens | ( | ) | const [pure virtual] |
Returns the number of the screen which is currently in focus. The number of the screen which is currently in focus.
TInt | Screens | ( | ) | const [pure virtual] |
Returns the total number of screens. The total number of screens.
void | SetFocusScreen | ( | TInt | aScreenNo | ) | [pure virtual] |
Changes the focused screen.
TInt aScreenNo | New screen number. |
TInt | SetOrdinalPosition | ( | TInt | aWindowGroupId, |
TInt | aPos, | |||
TInt | aOrdinalPriority | |||
) | [pure virtual] |
Changes the ordinal position and priority of the window group with the specified ID.
KErrNotFound if there is no window group with the specified ID, KErrNone otherwise.
void | WindowConfig | ( | TWindowConfig & | aWindowConfig | ) | const [pure virtual] |
Accessor for window configuration.
TWindowConfig & aWindowConfig | Gets filled in with window configuration details. |
TBool | WindowGroupInfo | ( | TWindowGroupInfo & | aInfo, |
TInt | aScreen, | |||
TInt | aFullOrdinalPosition | |||
) | const [pure virtual] |
Takes a screen number and an ordinal position and returns the complete window group information of the specified window. If the window group does not exist, the function returns EFalse.
Note: the ordinal position specified should be the total or full ordinal position of all group windows of all priorities on that screen.
ETrue if window group information exists, EFalse otherwise.
TWindowGroupInfo & aInfo | on return, complete window information. |
TInt aScreen | Screen number. |
TInt aFullOrdinalPosition | Ordinal position of the window. |
TBool | WindowGroupName | ( | TPtrC & | aWindowName, |
TInt | aScreen, | |||
TInt | aFullOrdinalPosition | |||
) | const [pure virtual] |
Takes a screen number and an ordinal position and returns the window group name. If the window group does not exist, the function returns false.
Note: the ordinal position specified should be the total or full ordinal position of all group windows of all priorities on that screen.
Note: if the name does not fit into the descriptor provided then it will be truncated.
ETrue if the window group name exists, EFalse otherwise.