Symbian3/SDK/Source/GUID-70B9796F-8CF3-5DC4-93B4-0B1FED936169.dita
changeset 2 ebc84c812384
parent 0 89d6a7a84779
equal deleted inserted replaced
1:25a17d01db0c 2:ebc84c812384
    15 is no guarantee that it will work on other interfaces </p>
    15 is no guarantee that it will work on other interfaces </p>
    16 <p>The <filepath>txti</filepath> project demonstrates a UI Data MTM. The central
    16 <p>The <filepath>txti</filepath> project demonstrates a UI Data MTM. The central
    17 class is <codeph>CTxtiMtmUiData</codeph>, derived from the User Interface
    17 class is <codeph>CTxtiMtmUiData</codeph>, derived from the User Interface
    18 MTM base class <codeph>CBaseMtmUiData</codeph>. </p>
    18 MTM base class <codeph>CBaseMtmUiData</codeph>. </p>
    19 <p> <filepath>txti</filepath> implements the following MTM functionality: </p>
    19 <p> <filepath>txti</filepath> implements the following MTM functionality: </p>
    20 <section><title>Example Code</title> <p>Click on the following link to download
    20 <section id="GUID-D230F67C-8D31-41A6-B298-0AF0DC45A130"><title>Example Code</title> <p>Click on the following link to download
    21 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-419758e4-b663-48d3-bf21-d9c4bb00da23.zip" scope="external">TextMTM.zip</xref>  </p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-419758e4-b663-48d3-bf21-d9c4bb00da23.html" scope="peer">browse</xref> to view the example code. </p> <p>The
    21 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-419758e4-b663-48d3-bf21-d9c4bb00da23.zip" scope="external">TextMTM.zip</xref>  </p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-419758e4-b663-48d3-bf21-d9c4bb00da23.html" scope="peer">browse</xref> to view the example code. </p> <p>The files reproduced
    22 files reproduced here are the main files contained in the examples directory.
    22 here are the main files contained in the examples directory. Some extra files
    23 Some extra files may be needed to run the examples, and these will be found
    23 may be needed to run the examples, and these will be found in the appropriate
    24 in the appropriate examples directory. </p> </section>
    24 examples directory. </p> </section>
    25 <section><title>Class summary</title><p><xref href="GUID-899C6D87-5712-34A7-902C-EA452894700C.dita"><apiname>CBaseMtmUiData</apiname></xref></p></section>
    25 <section id="GUID-F62B8A55-BBFF-4B09-92AB-DB6BECAEDE7F"><title>Class summary</title><p><xref href="GUID-899C6D87-5712-34A7-902C-EA452894700C.dita"><apiname>CBaseMtmUiData</apiname></xref></p></section>
    26 <section><title>Icons</title> <p>Icons are provided for messages, folders,
    26 <section id="GUID-2149EB45-BDA8-41EE-887D-69A3439DF2E1"><title>Icons</title> <p>Icons are provided for messages, folders,
    27 and services, for use in the message browser. They are built into a Symbian
    27 and services, for use in the message browser. They are built into a Symbian
    28 OS multi-bitmap file <filepath>txti.mbm</filepath>. <codeph>ContextIcon()</codeph> selects
    28 platform multi-bitmap file <filepath>txti.mbm</filepath>. <codeph>ContextIcon()</codeph> selects
    29 the correct icon depending on the entry context. </p> </section>
    29 the correct icon depending on the entry context. </p> </section>
    30 <section><title>MTM-specific operations</title> <p>Menu specifications for
    30 <section id="GUID-3D7F8936-7D6B-450C-BF8F-88E8ACF356F0"><title>MTM-specific operations</title> <p>Menu specifications for
    31 the two MTM-specific operations, Refresh and Export text to file, are provided
    31 the two MTM-specific operations, Refresh and Export text to file, are provided
    32 in the resource <codeph>r_textud_function_array</codeph>. <codeph>OperationSupportedL()</codeph> determines
    32 in the resource <codeph>r_textud_function_array</codeph>. <codeph>OperationSupportedL()</codeph> determines
    33 whether these operations are appropriate to the entry context. </p> </section>
    33 whether these operations are appropriate to the entry context. </p> </section>
    34 <section><title>Context-specific information (Can&lt;Operation&gt; functions)</title> <p>Implementations
    34 <section id="GUID-8C741A4E-6CB9-498C-89F5-C288010444DD"><title>Context-specific information (Can&lt;Operation&gt; functions)</title> <p>Implementations
    35 of these functions check that that the specific operation is available and
    35 of these functions check that that the specific operation is available and
    36 appropriate to the context. </p> </section>
    36 appropriate to the context. </p> </section>
    37 </conbody></concept>
    37 </conbody></concept>