|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-0C71B9C6-0782-5667-932A-07D770748DCE" xml:lang="en"><title>TextMTM |
|
13 utilities</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>In addition to the MTM component DLLs, a number of other programs are provided. </p> |
|
15 <section><title>Example Code</title> <p>Click on the following link to download |
|
16 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 |
|
17 here are the main files contained in the examples directory. Some extra files |
|
18 may be needed to run the examples, and these will be found in the appropriate |
|
19 examples directory </p> </section> |
|
20 <section><title>Common classes: txut</title> <p>The <filepath>txut</filepath> project |
|
21 provides source for a small utilities DLL, which holds code that must be shared |
|
22 between the Client and the Server-side Text MTM components. </p> <ul> |
|
23 <li id="GUID-193A94E1-21B8-58E0-9196-8B99B315F657"><p> <codeph>TTxtProgress</codeph> encapsulates |
|
24 progress information. The Server-side MTM records its progress using this |
|
25 class when performing copy and move operations. The User Interface MTM can |
|
26 extract information from the class for display to the user. </p> </li> |
|
27 <li id="GUID-3A70D7CE-A8EB-5016-9EEB-C9D320B2778D"><p> <codeph>CMTMTxtSettings</codeph> encapsulates |
|
28 access to the MTM's settings as they are stored in the central repository. <codeph>TMTMTxtSetting</codeph> encapsulates |
|
29 the settings for a single TextMTM service. This contains only a single property: |
|
30 the folder to which the service is mapped. </p> </li> |
|
31 <li id="GUID-ECA2F381-18F1-5BE8-9B6F-390A9AACF02F"><p> <codeph>TxtUtils</codeph> provides |
|
32 static utility functions. </p> </li> |
|
33 </ul> </section> |
|
34 <section><title>Classes used</title><p><xref href="GUID-AE4CD271-25CD-3115-9D49-F7A28CC83430.dita"><apiname>TTxtProgressCMTMTxtSettings </apiname></xref> <xref href="GUID-E035803A-FFDA-36A7-B159-E2BABECF6F7B.dita"><apiname>TMTMTxtSettingTxtUtils</apiname></xref></p></section> |
|
35 </conbody></concept> |