diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-70B9796F-8CF3-5DC4-93B4-0B1FED936169.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-70B9796F-8CF3-5DC4-93B4-0B1FED936169.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,37 @@ + + + + + +UI +Data MTM implementation +

Note: This example is designed to work with Techview and there +is no guarantee that it will work on other interfaces

+

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:

+
Example Code

Click on the following link to download +the example: TextMTM.zip

Click: browse to view the example code.

The +files reproduced here are the main files contained in the examples directory. +Some extra files may be needed to run the examples, and these will be found +in the appropriate examples directory.

+
Class summary

CBaseMtmUiData

+
Icons

Icons are provided for messages, folders, +and services, for use in the message browser. They are built into a Symbian +OS 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.

+
\ No newline at end of file