89 an IDE, import the <filepath>bld.inf</filepath> file of the example |
89 an IDE, import the <filepath>bld.inf</filepath> file of the example |
90 into your IDE, and use the build command of the IDE. </p> <p>If you |
90 into your IDE, and use the build command of the IDE. </p> <p>If you |
91 use the command line, open a command prompt, and set the current directory |
91 use the command line, open a command prompt, and set the current directory |
92 to the source code directory of the example. You can then build the |
92 to the source code directory of the example. You can then build the |
93 example with the SBSv1 build tools with the following commands: </p> <p><userinput>bldmake bldfiles</userinput> </p> <p><userinput>abld |
93 example with the SBSv1 build tools with the following commands: </p> <p><userinput>bldmake bldfiles</userinput> </p> <p><userinput>abld |
94 build</userinput> </p> <p> <xref href="GUID-793A5EF9-CC16-5EEB-9011-6431EA76EB15.dita">How to use bldmake</xref> and <xref href="GUID-B6B54E07-3B34-5D5C-8815-93383FA8FB4B.dita">How to |
94 build</userinput> </p> </li> |
95 use abld</xref> describe how to use the SBSv1 build tools. </p> </li> |
|
96 <li id="GUID-F470E492-C920-58E0-860C-5CCE24B0C7F4"><p>For the emulator, |
95 <li id="GUID-F470E492-C920-58E0-860C-5CCE24B0C7F4"><p>For the emulator, |
97 the example builds an executable called <filepath>searchsortexample.exe</filepath> in the <filepath>epoc32\release\winscw\<udeb |
96 the example builds an executable called <filepath>searchsortexample.exe</filepath> in the <filepath>epoc32\release\winscw\<udeb |
98 or urel>\</filepath> folder. </p> </li> |
97 or urel>\</filepath> folder. </p> </li> |
99 </ul> </section> |
98 </ul> </section> |
100 <section id="GUID-B72B706B-BB9F-5A0D-A36A-03135FE99E5C"><title>Running |
99 <section id="GUID-B72B706B-BB9F-5A0D-A36A-03135FE99E5C"><title>Running |
101 the example</title> <p> <filepath>searchsortexample.exe</filepath> takes user input from the console. The menu for the current example |
100 the example</title> <p> <filepath>searchsortexample.exe</filepath> takes user input from the console. The menu for the current example |
102 is as shown below: </p> <fig id="GUID-53020118-A1E3-56C3-AA81-9CED04533E27"> |
101 is as shown below: </p> <fig id="GUID-53020118-A1E3-56C3-AA81-9CED04533E27"> |
103 <image href="GUID-656E2E4F-D7C5-5FDC-B1E6-DFA5970BB3F0_d0e488785_href.jpg" placement="inline"/> |
102 <image href="GUID-656E2E4F-D7C5-5FDC-B1E6-DFA5970BB3F0_d0e494606_href.jpg" placement="inline"/> |
104 </fig> <p>The user input is handled by <codeph>CKeyReader::RunL()</codeph>. </p> <p>For simple and combined non-iterative search-sort, the |
103 </fig> <p>The user input is handled by <codeph>CKeyReader::RunL()</codeph>. </p> <p>For simple and combined non-iterative search-sort, the |
105 user provides the following inputs: 1) the text in the "To" field |
104 user provides the following inputs: 1) the text in the "To" field |
106 to search for, 2) whether case sensitivity is on of off, 3) whether |
105 to search for, 2) whether case sensitivity is on of off, 3) whether |
107 whole word searching is on or off. </p> <p>The input values are saved |
106 whole word searching is on or off. </p> <p>The input values are saved |
108 in variables which are passed to the function <codeph>CSearchsortExample::SearchSortRequestWithoutIteratorL()</codeph>, and the settings are made accordingly. </p> <p>For the combined |
107 in variables which are passed to the function <codeph>CSearchsortExample::SearchSortRequestWithoutIteratorL()</codeph>, and the settings are made accordingly. </p> <p>For the combined |