Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: fepbase.h
Link against: fepbase.lib

Class TFepOnOrOffKeyData

TFepOnOrOffKeyData

Support

Supported from 6.0

Description

On or off key data for FEPs. The CCoeFep class uses instances of this class to specify the key combination which is used to turn the FEP on and off. These values are initialised during construction of the FEP (see CCoeFep::BaseConstructL()).

The class consists of three TUints. They represent: —

For example, if the key combination to turn the FEP off is Fn+Enter, where the Shift modifier must not be down (and the state of all other modifiers is irrelevant), the TFepOnOrOffKeyData object would be constructed as follows:

TFepOnOrOffKeyData(EKeyEnter, EModifierFunc|EModifierShift, EModifierFunc)

Note that modifiers should not be set in the values if they are not also set in the mask.

Defined in TFepOnOrOffKeyData:
CharacterCodeForFoldedMatch(), ModifierMask(), ModifierValues(), TFepOnOrOffKeyData()


Construction


TFepOnOrOffKeyData()

TFepOnOrOffKeyData(TUint aCharacterCodeForFoldedMatch, TUint aModifierMask, TUint aModifierValues)

Description

The C++ constructor is used to construct the key data object with the character code, the modifier mask and the modifier values.

Parameters

TUint aCharacterCodeForFoldedMatch

The character code.

TUint aModifierMask

The modifier mask.

TUint aModifierValues

The modifier values.

[Top]


Get the key combination


CharacterCodeForFoldedMatch()

TUint CharacterCodeForFoldedMatch() const

Description

Gets the character code.

Return value

TUint

The character code.


ModifierMask()

TUint ModifierMask() const

Description

Gets the modifier mask.

Return value

TUint

The modifier mask.


ModifierValues()

TUint ModifierValues() const

Description

Gets the modifier values.

Return value

TUint

The modifier values.