EPOC   SDK Home Glossary Indexes Previous Next Up

UI Data MTM implementation

The txti project demonstrates a UI Data MTM. The central class is CTxtiMtmUiData, derived from the User Interface MTM base class CBaseMtmUiData.

txti implements the following MTM functionality:

Icons

Sets of icons, at three zoom levels, are provided for messages, folders, and services, for use in the Email message browser. They are built into an EPOC multi-bitmap file txti.mbm. ContextIcon() selects the correct icon depending on the entry context.

MTM-specific operations

Menu specifications for the two MTM-specific operations, Refresh and Export text to file, are provided in the resource r_textud_function_array. OperationSupportedL() determines whether these operations are appropriate to the entry context.

Context-specific information (Can<Operation> functions)

Implementations of these functions check that that the specific operation is available and appropriate to the context.

EPOC       SDK Home Glossary Indexes Previous Next Up