|
|
|
Location:
QikUiConfigDataTypes.h
Link against: quiconfigclient.lib
class TQikUiConfig;
This class encapsulates a UI configuration. A UI configuration consists of a screen mode, an orientation, a UI style and a touch screen.
Defined in TQikUiConfig:
Create(), ExternalizeL(), InteractionStyle(), InternalizeL(), Match(), Orientation(), ScreenMode(), SetInteractionStyle(), SetOrientation(), SetScreenMode(), SetTouchScreen(), SetUiConfigMode(), TQikUiConfig(), TQikUiConfig(), TQikUiConfig(), TouchScreen(), UiConfigMode(), operator!=(), operator==()
IMPORT_C TQikUiConfig(TQikScreenMode aScreenMode, TQikOrientation aOrientation, TQikInteractionStyle aUiStyle, TQikTouchScreen aTouchScreen);
Constructor.
|
IMPORT_C void Create(TQikScreenMode aScreenMode, TQikOrientation aOrientation, TQikInteractionStyle aUiStyle, TQikTouchScreen aTouchScreen);
Sets all parameters for an existing configuration.
|
IMPORT_C void InternalizeL(RReadStream &aStream);
Internalises a TQikUiConfig object from a read stream.
|
IMPORT_C void ExternalizeL(RWriteStream &aStream);
Externalises a TQikUiConfig object to a write stream.
|
IMPORT_C TBool operator==(const TQikUiConfig &aUiConfig) const;
Compares this instance with another TQikUiConfig object.
|
|
IMPORT_C TBool operator!=(const TQikUiConfig &aUiConfig) const;
Compares this instance with another TQikUiConfig object.
|
|
static IMPORT_C TBool Match(const TQikUiConfig &aFirst, const TQikUiConfig &aSecond);
Compares two TQikUiConfig objects.
|
|
IMPORT_C TInt UiConfigMode() const;
Returns the identifier.
|
IMPORT_C void SetUiConfigMode(TInt aUiConfigMode);
Sets the identifier.
A UI configuration is encoded into a unique identifier the following way:
76543210 76543210 76543210 76543210
xxxxxx - Screen Mode 6 bits
xx - Touch Screen 2 bits
xxxxxx - UI Style 6 bits
xx - Orientation 2 bits
The rest of the bits (high word) are reserved for future/licensee extensions.
|
IMPORT_C TQikScreenMode ScreenMode() const;
Returns the screen mode.
|
IMPORT_C void SetScreenMode(TQikScreenMode aScreenMode);
Sets the screen mode.
|
IMPORT_C TQikOrientation Orientation() const;
Returns the orientation.
|
IMPORT_C void SetOrientation(TQikOrientation aOrientation);
Sets the orientation.
|
IMPORT_C TQikInteractionStyle InteractionStyle() const;
Returns the ui style.
|
IMPORT_C void SetInteractionStyle(TQikInteractionStyle aInteractionStyle);
Sets the ui style.
|
IMPORT_C TQikTouchScreen TouchScreen() const;
Returns the touch screen.
|
IMPORT_C void SetTouchScreen(TQikTouchScreen aTouchScreen);
Sets the touch screen.
|